CloudSetup

AWSSSOSetup

Sets up AWS infrastructure and ESC environments using AWS SSO

post/api/esc/cloudsetup/{orgName}/aws/sso/setup

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/esc/cloudsetup/{orgName}/aws/sso/setup
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Request body

accountIdstring required

The AWS account id

accountRoleNamestring required

The AWS account role name

environmentNamestring

ESC environment name of the environment that will assume the role. When set together with projectName, the role's trust policy only accepts tokens issued for that environment.

oidcRoleNamestring required

Name of IAM Role for OIDC

policyArnstring required

ARN of the IAM policy to attach to the role

projectNamestring

ESC project name of the environment that will assume the role. When set together with environmentName, the role's trust policy only accepts tokens issued for that environment.

regionstring required

The AWS SSO Region

sessionIdstring required

The auth session id

Response

OK

messagestring

Optional message about the setup operation

successboolean required

Whether the setup operation was successful

Changes

No recorded changes to this operation across all 1 revision of this API.