Documentation ¶
Index ¶
- func GetAssumeRole(ctx *pulumi.Context) string
- func GetAwsAccessKeyId(ctx *pulumi.Context) string
- func GetAwsSecretAccessKey(ctx *pulumi.Context) string
- func GetAwsSessionToken(ctx *pulumi.Context) string
- func GetBaseUrl(ctx *pulumi.Context) string
- func GetIsMongodbgovCloud(ctx *pulumi.Context) bool
- func GetPrivateKey(ctx *pulumi.Context) string
- func GetPublicKey(ctx *pulumi.Context) string
- func GetRealmBaseUrl(ctx *pulumi.Context) string
- func GetRegion(ctx *pulumi.Context) string
- func GetSecretName(ctx *pulumi.Context) string
- func GetStsEndpoint(ctx *pulumi.Context) string
- type AssumeRole
- type AssumeRoleArgs
- type AssumeRoleInput
- type AssumeRoleOutput
- func (o AssumeRoleOutput) Duration() pulumi.StringPtrOutput
- func (AssumeRoleOutput) ElementType() reflect.Type
- func (o AssumeRoleOutput) ExternalId() pulumi.StringPtrOutput
- func (o AssumeRoleOutput) Policy() pulumi.StringPtrOutput
- func (o AssumeRoleOutput) PolicyArns() pulumi.StringArrayOutput
- func (o AssumeRoleOutput) RoleArn() pulumi.StringPtrOutput
- func (o AssumeRoleOutput) SessionName() pulumi.StringPtrOutput
- func (o AssumeRoleOutput) SourceIdentity() pulumi.StringPtrOutput
- func (o AssumeRoleOutput) Tags() pulumi.StringMapOutput
- func (o AssumeRoleOutput) ToAssumeRoleOutput() AssumeRoleOutput
- func (o AssumeRoleOutput) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput
- func (o AssumeRoleOutput) TransitiveTagKeys() pulumi.StringArrayOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssumeRole ¶ added in v3.6.0
func GetAwsAccessKeyId ¶ added in v3.6.0
AWS API Access Key.
func GetAwsSecretAccessKey ¶ added in v3.6.0
AWS API Access Secret Key.
func GetAwsSessionToken ¶ added in v3.6.0
AWS Security Token Service provided session token.
func GetIsMongodbgovCloud ¶ added in v3.6.0
MongoDB Atlas Base URL default to gov
func GetPrivateKey ¶
MongoDB Atlas Programmatic Private Key
func GetPublicKey ¶
MongoDB Atlas Programmatic Public Key
func GetSecretName ¶ added in v3.6.0
Name of secret stored in AWS Secret Manager.
func GetStsEndpoint ¶ added in v3.6.0
AWS Security Token Service endpoint. Required for cross-AWS region or cross-AWS account secrets.
Types ¶
type AssumeRole ¶ added in v3.6.0
type AssumeRole struct { // The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m. Duration *string `pulumi:"duration"` // A unique identifier that might be required when you assume a role in another account. ExternalId *string `pulumi:"externalId"` // IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. Policy *string `pulumi:"policy"` // Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed. PolicyArns []string `pulumi:"policyArns"` // Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls. RoleArn *string `pulumi:"roleArn"` // An identifier for the assumed role session. SessionName *string `pulumi:"sessionName"` // Source identity specified by the principal assuming the role. SourceIdentity *string `pulumi:"sourceIdentity"` // Assume role session tags. Tags map[string]string `pulumi:"tags"` // Assume role session tag keys to pass to any subsequent sessions. TransitiveTagKeys []string `pulumi:"transitiveTagKeys"` }
type AssumeRoleArgs ¶ added in v3.6.0
type AssumeRoleArgs struct { // The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m. Duration pulumi.StringPtrInput `pulumi:"duration"` // A unique identifier that might be required when you assume a role in another account. ExternalId pulumi.StringPtrInput `pulumi:"externalId"` // IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. Policy pulumi.StringPtrInput `pulumi:"policy"` // Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed. PolicyArns pulumi.StringArrayInput `pulumi:"policyArns"` // Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls. RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` // An identifier for the assumed role session. SessionName pulumi.StringPtrInput `pulumi:"sessionName"` // Source identity specified by the principal assuming the role. SourceIdentity pulumi.StringPtrInput `pulumi:"sourceIdentity"` // Assume role session tags. Tags pulumi.StringMapInput `pulumi:"tags"` // Assume role session tag keys to pass to any subsequent sessions. TransitiveTagKeys pulumi.StringArrayInput `pulumi:"transitiveTagKeys"` }
func (AssumeRoleArgs) ElementType ¶ added in v3.6.0
func (AssumeRoleArgs) ElementType() reflect.Type
func (AssumeRoleArgs) ToAssumeRoleOutput ¶ added in v3.6.0
func (i AssumeRoleArgs) ToAssumeRoleOutput() AssumeRoleOutput
func (AssumeRoleArgs) ToAssumeRoleOutputWithContext ¶ added in v3.6.0
func (i AssumeRoleArgs) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput
type AssumeRoleInput ¶ added in v3.6.0
type AssumeRoleInput interface { pulumi.Input ToAssumeRoleOutput() AssumeRoleOutput ToAssumeRoleOutputWithContext(context.Context) AssumeRoleOutput }
AssumeRoleInput is an input type that accepts AssumeRoleArgs and AssumeRoleOutput values. You can construct a concrete instance of `AssumeRoleInput` via:
AssumeRoleArgs{...}
type AssumeRoleOutput ¶ added in v3.6.0
type AssumeRoleOutput struct{ *pulumi.OutputState }
func (AssumeRoleOutput) Duration ¶ added in v3.6.0
func (o AssumeRoleOutput) Duration() pulumi.StringPtrOutput
The duration, between 15 minutes and 12 hours, of the role session. Valid time units are ns, us (or µs), ms, s, h, or m.
func (AssumeRoleOutput) ElementType ¶ added in v3.6.0
func (AssumeRoleOutput) ElementType() reflect.Type
func (AssumeRoleOutput) ExternalId ¶ added in v3.6.0
func (o AssumeRoleOutput) ExternalId() pulumi.StringPtrOutput
A unique identifier that might be required when you assume a role in another account.
func (AssumeRoleOutput) Policy ¶ added in v3.6.0
func (o AssumeRoleOutput) Policy() pulumi.StringPtrOutput
IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
func (AssumeRoleOutput) PolicyArns ¶ added in v3.6.0
func (o AssumeRoleOutput) PolicyArns() pulumi.StringArrayOutput
Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
func (AssumeRoleOutput) RoleArn ¶ added in v3.6.0
func (o AssumeRoleOutput) RoleArn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of an IAM Role to assume prior to making API calls.
func (AssumeRoleOutput) SessionName ¶ added in v3.6.0
func (o AssumeRoleOutput) SessionName() pulumi.StringPtrOutput
An identifier for the assumed role session.
func (AssumeRoleOutput) SourceIdentity ¶ added in v3.6.0
func (o AssumeRoleOutput) SourceIdentity() pulumi.StringPtrOutput
Source identity specified by the principal assuming the role.
func (AssumeRoleOutput) Tags ¶ added in v3.6.0
func (o AssumeRoleOutput) Tags() pulumi.StringMapOutput
Assume role session tags.
func (AssumeRoleOutput) ToAssumeRoleOutput ¶ added in v3.6.0
func (o AssumeRoleOutput) ToAssumeRoleOutput() AssumeRoleOutput
func (AssumeRoleOutput) ToAssumeRoleOutputWithContext ¶ added in v3.6.0
func (o AssumeRoleOutput) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput
func (AssumeRoleOutput) TransitiveTagKeys ¶ added in v3.6.0
func (o AssumeRoleOutput) TransitiveTagKeys() pulumi.StringArrayOutput
Assume role session tag keys to pass to any subsequent sessions.