Documentation
¶
Index ¶
- func GetAssumeRole(ctx *pulumi.Context) string
- func GetDomain(ctx *pulumi.Context) string
- 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
- func PkgVersion() (semver.Version, error)
- type AssumeRole
- type AssumeRoleArgs
- type AssumeRoleInput
- type AssumeRoleOutput
- func (AssumeRoleOutput) ElementType() reflect.Type
- 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
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 GetProfile ¶ added in v0.1.8
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 must be provided, but 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 must be provided, but it can also be sourced from the `TENCENTCLOUD_SECRET_ID` environment variable.
func GetSecretKey ¶
This is the TencentCloud secret key. It must be provided, but 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 ¶ added in v0.1.8
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.
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type AssumeRole ¶
type AssumeRoleArgs ¶
type AssumeRoleArgs struct { 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) 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