Documentation
¶
Index ¶
- func GetAssumeRole(ctx *pulumi.Context) string
- func GetAssumeRoleWithSaml(ctx *pulumi.Context) string
- func GetAssumeRoleWithWebIdentity(ctx *pulumi.Context) string
- func GetCamRoleName(ctx *pulumi.Context) string
- func GetCosDomain(ctx *pulumi.Context) string
- func GetDomain(ctx *pulumi.Context) string
- func GetEnablePodOidc(ctx *pulumi.Context) bool
- func GetProfile(ctx *pulumi.Context) string
- func GetProtocol(ctx *pulumi.Context) string
- func GetRegion(ctx *pulumi.Context) string
- func GetSecretId(ctx *pulumi.Context) string
- func GetSecretKey(ctx *pulumi.Context) string
- func GetSecurityToken(ctx *pulumi.Context) string
- func GetSharedCredentialsDir(ctx *pulumi.Context) string
- type AssumeRole
- type AssumeRoleArgs
- type AssumeRoleInput
- type AssumeRoleOutput
- func (AssumeRoleOutput) ElementType() reflect.Type
- func (o AssumeRoleOutput) ExternalId() pulumi.StringPtrOutput
- func (o AssumeRoleOutput) Policy() pulumi.StringPtrOutput
- func (o AssumeRoleOutput) RoleArn() pulumi.StringOutput
- func (o AssumeRoleOutput) SessionDuration() pulumi.IntOutput
- func (o AssumeRoleOutput) SessionName() pulumi.StringOutput
- func (o AssumeRoleOutput) ToAssumeRoleOutput() AssumeRoleOutput
- func (o AssumeRoleOutput) ToAssumeRoleOutputWithContext(ctx context.Context) AssumeRoleOutput
- type AssumeRoleWithSaml
- type AssumeRoleWithSamlArgs
- type AssumeRoleWithSamlInput
- type AssumeRoleWithSamlOutput
- func (AssumeRoleWithSamlOutput) ElementType() reflect.Type
- func (o AssumeRoleWithSamlOutput) PrincipalArn() pulumi.StringOutput
- func (o AssumeRoleWithSamlOutput) RoleArn() pulumi.StringOutput
- func (o AssumeRoleWithSamlOutput) SamlAssertion() pulumi.StringOutput
- func (o AssumeRoleWithSamlOutput) SessionDuration() pulumi.IntOutput
- func (o AssumeRoleWithSamlOutput) SessionName() pulumi.StringOutput
- func (o AssumeRoleWithSamlOutput) ToAssumeRoleWithSamlOutput() AssumeRoleWithSamlOutput
- func (o AssumeRoleWithSamlOutput) ToAssumeRoleWithSamlOutputWithContext(ctx context.Context) AssumeRoleWithSamlOutput
- type AssumeRoleWithWebIdentity
- type AssumeRoleWithWebIdentityArgs
- func (AssumeRoleWithWebIdentityArgs) ElementType() reflect.Type
- func (i AssumeRoleWithWebIdentityArgs) ToAssumeRoleWithWebIdentityOutput() AssumeRoleWithWebIdentityOutput
- func (i AssumeRoleWithWebIdentityArgs) ToAssumeRoleWithWebIdentityOutputWithContext(ctx context.Context) AssumeRoleWithWebIdentityOutput
- type AssumeRoleWithWebIdentityInput
- type AssumeRoleWithWebIdentityOutput
- func (AssumeRoleWithWebIdentityOutput) ElementType() reflect.Type
- func (o AssumeRoleWithWebIdentityOutput) RoleArn() pulumi.StringOutput
- func (o AssumeRoleWithWebIdentityOutput) SessionDuration() pulumi.IntOutput
- func (o AssumeRoleWithWebIdentityOutput) SessionName() pulumi.StringOutput
- func (o AssumeRoleWithWebIdentityOutput) ToAssumeRoleWithWebIdentityOutput() AssumeRoleWithWebIdentityOutput
- func (o AssumeRoleWithWebIdentityOutput) ToAssumeRoleWithWebIdentityOutputWithContext(ctx context.Context) AssumeRoleWithWebIdentityOutput
- func (o AssumeRoleWithWebIdentityOutput) WebIdentityToken() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssumeRole ¶
The `assume_role` block. If provided, terraform will attempt to assume this role using the supplied credentials.
func GetAssumeRoleWithSaml ¶ added in v0.1.7
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
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
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
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 GetEnablePodOidc ¶ added in v0.1.7
Whether to enable pod oidc.
func GetProfile ¶
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 ¶
The protocol of the API request. Valid values: `HTTP` and `HTTPS`. Default is `HTTPS`.
func GetRegion ¶
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 ¶
This is the TencentCloud access key. It can also be sourced from the `TENCENTCLOUD_SECRET_ID` environment variable.
func GetSecretKey ¶
This is the TencentCloud secret key. It can also be sourced from the `TENCENTCLOUD_SECRET_KEY` environment variable.
func GetSecurityToken ¶
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 ¶
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 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 (o AssumeRoleOutput) Policy() pulumi.StringPtrOutput
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 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 (o AssumeRoleWithSamlOutput) RoleArn() pulumi.StringOutput
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 (o AssumeRoleWithSamlOutput) SessionName() pulumi.StringOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (AssumeRoleWithWebIdentityOutput) RoleArn ¶ added in v0.1.7
func (o AssumeRoleWithWebIdentityOutput) RoleArn() pulumi.StringOutput
func (AssumeRoleWithWebIdentityOutput) SessionDuration ¶ added in v0.1.7
func (o AssumeRoleWithWebIdentityOutput) SessionDuration() pulumi.IntOutput
func (AssumeRoleWithWebIdentityOutput) SessionName ¶ added in v0.1.7
func (o AssumeRoleWithWebIdentityOutput) SessionName() pulumi.StringOutput
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
func (o AssumeRoleWithWebIdentityOutput) WebIdentityToken() pulumi.StringOutput