config

package
v3.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAssumeRole added in v3.6.0

func GetAssumeRole(ctx *pulumi.Context) string

func GetAwsAccessKeyId added in v3.6.0

func GetAwsAccessKeyId(ctx *pulumi.Context) string

AWS API Access Key.

func GetAwsSecretAccessKey added in v3.6.0

func GetAwsSecretAccessKey(ctx *pulumi.Context) string

AWS API Access Secret Key.

func GetAwsSessionToken added in v3.6.0

func GetAwsSessionToken(ctx *pulumi.Context) string

AWS Security Token Service provided session token.

func GetBaseUrl

func GetBaseUrl(ctx *pulumi.Context) string

MongoDB Atlas Base URL

func GetIsMongodbgovCloud added in v3.6.0

func GetIsMongodbgovCloud(ctx *pulumi.Context) bool

MongoDB Atlas Base URL default to gov

func GetPrivateKey

func GetPrivateKey(ctx *pulumi.Context) string

MongoDB Atlas Programmatic Private Key

func GetPublicKey

func GetPublicKey(ctx *pulumi.Context) string

MongoDB Atlas Programmatic Public Key

func GetRealmBaseUrl

func GetRealmBaseUrl(ctx *pulumi.Context) string

MongoDB Realm Base URL

func GetRegion added in v3.6.0

func GetRegion(ctx *pulumi.Context) string

Region where secret is stored as part of AWS Secret Manager.

func GetSecretName added in v3.6.0

func GetSecretName(ctx *pulumi.Context) string

Name of secret stored in AWS Secret Manager.

func GetStsEndpoint added in v3.6.0

func GetStsEndpoint(ctx *pulumi.Context) string

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL