config

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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

func GetAssumeRole(ctx *pulumi.Context) string

The `assume_role` block. If provided, terraform will attempt to assume this role using the supplied credentials.

func GetAssumeRoleWithSaml added in v0.1.7

func GetAssumeRoleWithSaml(ctx *pulumi.Context) string

The `assume_role_with_saml` block. If provided, terraform will attempt to assume this role using the supplied credentials.

func GetAssumeRoleWithWebIdentity added in v0.1.7

func GetAssumeRoleWithWebIdentity(ctx *pulumi.Context) string

The `assume_role_with_web_identity` block. If provided, terraform will attempt to assume this role using the supplied credentials.

func GetCamRoleName added in v0.1.7

func GetCamRoleName(ctx *pulumi.Context) string

The name of the CVM instance CAM role. It can be sourced from the `TENCENTCLOUD_CAM_ROLE_NAME` environment variable.

func GetCosDomain added in v0.1.7

func GetCosDomain(ctx *pulumi.Context) string

The cos domain of the API request, Default is `https://cos.{region}.myqcloud.com`, Other Examples: `https://cluster-123456.cos-cdc.ap-guangzhou.myqcloud.com`.

func GetDomain

func GetDomain(ctx *pulumi.Context) string

The root domain of the API request, Default is `tencentcloudapi.com`.

func GetEnablePodOidc added in v0.1.7

func GetEnablePodOidc(ctx *pulumi.Context) bool

Whether to enable pod oidc.

func GetProfile

func GetProfile(ctx *pulumi.Context) string

The profile name as set in the shared credentials. It can also be sourced from the `TENCENTCLOUD_PROFILE` environment variable. If not set, the default profile created with `tccli configure` will be used.

func GetProtocol

func GetProtocol(ctx *pulumi.Context) string

The protocol of the API request. Valid values: `HTTP` and `HTTPS`. Default is `HTTPS`.

func GetRegion

func GetRegion(ctx *pulumi.Context) string

This is the TencentCloud region. It can also be sourced from the `TENCENTCLOUD_REGION` environment variables. The default input value is ap-guangzhou.

func GetSecretId

func GetSecretId(ctx *pulumi.Context) string

This is the TencentCloud access key. It can also be sourced from the `TENCENTCLOUD_SECRET_ID` environment variable.

func GetSecretKey

func GetSecretKey(ctx *pulumi.Context) string

This is the TencentCloud secret key. It can also be sourced from the `TENCENTCLOUD_SECRET_KEY` environment variable.

func GetSecurityToken

func GetSecurityToken(ctx *pulumi.Context) string

TencentCloud Security Token of temporary access credentials. It can be sourced from the `TENCENTCLOUD_SECURITY_TOKEN` environment variable. Notice: for supported products, please refer to: [temporary key supported products](https://intl.cloud.tencent.com/document/product/598/10588).

func GetSharedCredentialsDir

func GetSharedCredentialsDir(ctx *pulumi.Context) string

The directory of the shared credentials. It can also be sourced from the `TENCENTCLOUD_SHARED_CREDENTIALS_DIR` environment variable. If not set this defaults to ~/.tccli.

Types

type AssumeRole

type AssumeRole struct {
	ExternalId      *string `pulumi:"externalId"`
	Policy          *string `pulumi:"policy"`
	RoleArn         string  `pulumi:"roleArn"`
	SessionDuration int     `pulumi:"sessionDuration"`
	SessionName     string  `pulumi:"sessionName"`
}

type AssumeRoleArgs

type AssumeRoleArgs struct {
	ExternalId      pulumi.StringPtrInput `pulumi:"externalId"`
	Policy          pulumi.StringPtrInput `pulumi:"policy"`
	RoleArn         pulumi.StringInput    `pulumi:"roleArn"`
	SessionDuration pulumi.IntInput       `pulumi:"sessionDuration"`
	SessionName     pulumi.StringInput    `pulumi:"sessionName"`
}

func (AssumeRoleArgs) ElementType

func (AssumeRoleArgs) ElementType() reflect.Type

func (AssumeRoleArgs) ToAssumeRoleOutput

func (i AssumeRoleArgs) ToAssumeRoleOutput() AssumeRoleOutput

func (AssumeRoleArgs) ToAssumeRoleOutputWithContext

func (i AssumeRoleArgs) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput

type AssumeRoleInput

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

type AssumeRoleOutput struct{ *pulumi.OutputState }

func (AssumeRoleOutput) ElementType

func (AssumeRoleOutput) ElementType() reflect.Type

func (AssumeRoleOutput) ExternalId added in v0.1.7

func (o AssumeRoleOutput) ExternalId() pulumi.StringPtrOutput

func (AssumeRoleOutput) Policy

func (AssumeRoleOutput) RoleArn

func (o AssumeRoleOutput) RoleArn() pulumi.StringOutput

func (AssumeRoleOutput) SessionDuration

func (o AssumeRoleOutput) SessionDuration() pulumi.IntOutput

func (AssumeRoleOutput) SessionName

func (o AssumeRoleOutput) SessionName() pulumi.StringOutput

func (AssumeRoleOutput) ToAssumeRoleOutput

func (o AssumeRoleOutput) ToAssumeRoleOutput() AssumeRoleOutput

func (AssumeRoleOutput) ToAssumeRoleOutputWithContext

func (o AssumeRoleOutput) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput

type AssumeRoleWithSaml added in v0.1.7

type AssumeRoleWithSaml struct {
	PrincipalArn    string `pulumi:"principalArn"`
	RoleArn         string `pulumi:"roleArn"`
	SamlAssertion   string `pulumi:"samlAssertion"`
	SessionDuration int    `pulumi:"sessionDuration"`
	SessionName     string `pulumi:"sessionName"`
}

type AssumeRoleWithSamlArgs added in v0.1.7

type AssumeRoleWithSamlArgs struct {
	PrincipalArn    pulumi.StringInput `pulumi:"principalArn"`
	RoleArn         pulumi.StringInput `pulumi:"roleArn"`
	SamlAssertion   pulumi.StringInput `pulumi:"samlAssertion"`
	SessionDuration pulumi.IntInput    `pulumi:"sessionDuration"`
	SessionName     pulumi.StringInput `pulumi:"sessionName"`
}

func (AssumeRoleWithSamlArgs) ElementType added in v0.1.7

func (AssumeRoleWithSamlArgs) ElementType() reflect.Type

func (AssumeRoleWithSamlArgs) ToAssumeRoleWithSamlOutput added in v0.1.7

func (i AssumeRoleWithSamlArgs) ToAssumeRoleWithSamlOutput() AssumeRoleWithSamlOutput

func (AssumeRoleWithSamlArgs) ToAssumeRoleWithSamlOutputWithContext added in v0.1.7

func (i AssumeRoleWithSamlArgs) ToAssumeRoleWithSamlOutputWithContext(ctx context.Context) AssumeRoleWithSamlOutput

type AssumeRoleWithSamlInput added in v0.1.7

type AssumeRoleWithSamlInput interface {
	pulumi.Input

	ToAssumeRoleWithSamlOutput() AssumeRoleWithSamlOutput
	ToAssumeRoleWithSamlOutputWithContext(context.Context) AssumeRoleWithSamlOutput
}

AssumeRoleWithSamlInput is an input type that accepts AssumeRoleWithSamlArgs and AssumeRoleWithSamlOutput values. You can construct a concrete instance of `AssumeRoleWithSamlInput` via:

AssumeRoleWithSamlArgs{...}

type AssumeRoleWithSamlOutput added in v0.1.7

type AssumeRoleWithSamlOutput struct{ *pulumi.OutputState }

func (AssumeRoleWithSamlOutput) ElementType added in v0.1.7

func (AssumeRoleWithSamlOutput) ElementType() reflect.Type

func (AssumeRoleWithSamlOutput) PrincipalArn added in v0.1.7

func (o AssumeRoleWithSamlOutput) PrincipalArn() pulumi.StringOutput

func (AssumeRoleWithSamlOutput) RoleArn added in v0.1.7

func (AssumeRoleWithSamlOutput) SamlAssertion added in v0.1.7

func (o AssumeRoleWithSamlOutput) SamlAssertion() pulumi.StringOutput

func (AssumeRoleWithSamlOutput) SessionDuration added in v0.1.7

func (o AssumeRoleWithSamlOutput) SessionDuration() pulumi.IntOutput

func (AssumeRoleWithSamlOutput) SessionName added in v0.1.7

func (AssumeRoleWithSamlOutput) ToAssumeRoleWithSamlOutput added in v0.1.7

func (o AssumeRoleWithSamlOutput) ToAssumeRoleWithSamlOutput() AssumeRoleWithSamlOutput

func (AssumeRoleWithSamlOutput) ToAssumeRoleWithSamlOutputWithContext added in v0.1.7

func (o AssumeRoleWithSamlOutput) ToAssumeRoleWithSamlOutputWithContext(ctx context.Context) AssumeRoleWithSamlOutput

type AssumeRoleWithWebIdentity added in v0.1.7

type AssumeRoleWithWebIdentity struct {
	RoleArn          string `pulumi:"roleArn"`
	SessionDuration  int    `pulumi:"sessionDuration"`
	SessionName      string `pulumi:"sessionName"`
	WebIdentityToken string `pulumi:"webIdentityToken"`
}

type AssumeRoleWithWebIdentityArgs added in v0.1.7

type AssumeRoleWithWebIdentityArgs struct {
	RoleArn          pulumi.StringInput `pulumi:"roleArn"`
	SessionDuration  pulumi.IntInput    `pulumi:"sessionDuration"`
	SessionName      pulumi.StringInput `pulumi:"sessionName"`
	WebIdentityToken pulumi.StringInput `pulumi:"webIdentityToken"`
}

func (AssumeRoleWithWebIdentityArgs) ElementType added in v0.1.7

func (AssumeRoleWithWebIdentityArgs) ToAssumeRoleWithWebIdentityOutput added in v0.1.7

func (i AssumeRoleWithWebIdentityArgs) ToAssumeRoleWithWebIdentityOutput() AssumeRoleWithWebIdentityOutput

func (AssumeRoleWithWebIdentityArgs) ToAssumeRoleWithWebIdentityOutputWithContext added in v0.1.7

func (i AssumeRoleWithWebIdentityArgs) ToAssumeRoleWithWebIdentityOutputWithContext(ctx context.Context) AssumeRoleWithWebIdentityOutput

type AssumeRoleWithWebIdentityInput added in v0.1.7

type AssumeRoleWithWebIdentityInput interface {
	pulumi.Input

	ToAssumeRoleWithWebIdentityOutput() AssumeRoleWithWebIdentityOutput
	ToAssumeRoleWithWebIdentityOutputWithContext(context.Context) AssumeRoleWithWebIdentityOutput
}

AssumeRoleWithWebIdentityInput is an input type that accepts AssumeRoleWithWebIdentityArgs and AssumeRoleWithWebIdentityOutput values. You can construct a concrete instance of `AssumeRoleWithWebIdentityInput` via:

AssumeRoleWithWebIdentityArgs{...}

type AssumeRoleWithWebIdentityOutput added in v0.1.7

type AssumeRoleWithWebIdentityOutput struct{ *pulumi.OutputState }

func (AssumeRoleWithWebIdentityOutput) ElementType added in v0.1.7

func (AssumeRoleWithWebIdentityOutput) RoleArn added in v0.1.7

func (AssumeRoleWithWebIdentityOutput) SessionDuration added in v0.1.7

func (o AssumeRoleWithWebIdentityOutput) SessionDuration() pulumi.IntOutput

func (AssumeRoleWithWebIdentityOutput) SessionName added in v0.1.7

func (AssumeRoleWithWebIdentityOutput) ToAssumeRoleWithWebIdentityOutput added in v0.1.7

func (o AssumeRoleWithWebIdentityOutput) ToAssumeRoleWithWebIdentityOutput() AssumeRoleWithWebIdentityOutput

func (AssumeRoleWithWebIdentityOutput) ToAssumeRoleWithWebIdentityOutputWithContext added in v0.1.7

func (o AssumeRoleWithWebIdentityOutput) ToAssumeRoleWithWebIdentityOutputWithContext(ctx context.Context) AssumeRoleWithWebIdentityOutput

func (AssumeRoleWithWebIdentityOutput) WebIdentityToken added in v0.1.7

Jump to

Keyboard shortcuts

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