config

package
v0.0.0-...-9ab2e28 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 10 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 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 PkgVersion

func PkgVersion() (semver.Version, error)

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