config

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 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 GetDomain

func GetDomain(ctx *pulumi.Context) string

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

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 must be provided, but 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 must be provided, but 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 must be provided, but 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 {
	Policy          *string `pulumi:"policy"`
	RoleArn         string  `pulumi:"roleArn"`
	SessionDuration int     `pulumi:"sessionDuration"`
	SessionName     string  `pulumi:"sessionName"`
}

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 (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

Jump to

Keyboard shortcuts

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