tencentcloud.Provider
Explore with Pulumi AI
The provider type for the tencentcloud package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
allowed_account_ids: Optional[Sequence[str]] = None,
assume_role: Optional[ProviderAssumeRoleArgs] = None,
assume_role_with_saml: Optional[ProviderAssumeRoleWithSamlArgs] = None,
assume_role_with_web_identity: Optional[ProviderAssumeRoleWithWebIdentityArgs] = None,
cam_role_name: Optional[str] = None,
cos_domain: Optional[str] = None,
domain: Optional[str] = None,
enable_pod_oidc: Optional[bool] = None,
forbidden_account_ids: Optional[Sequence[str]] = None,
mfa_certification: Optional[ProviderMfaCertificationArgs] = None,
profile: Optional[str] = None,
protocol: Optional[str] = None,
region: Optional[str] = None,
secret_id: Optional[str] = None,
secret_key: Optional[str] = None,
security_token: Optional[str] = None,
shared_credentials_dir: Optional[str] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:tencentcloud
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Allowed
Account List<string>Ids - List of allowed TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
forbidden_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - Assume
Role ProviderAssume Role - Assume
Role ProviderWith Saml Assume Role With Saml - Assume
Role ProviderWith Web Identity Assume Role With Web Identity - Cam
Role stringName - The name of the CVM instance CAM role. It can be sourced from the
TENCENTCLOUD_CAM_ROLE_NAME
environment variable. - Cos
Domain 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
. - Domain string
- The root domain of the API request, Default is
tencentcloudapi.com
. - Enable
Pod boolOidc - Whether to enable pod oidc.
- Forbidden
Account List<string>Ids - List of forbidden TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
allowed_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - Mfa
Certification ProviderMfa Certification - Profile 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 withtccli configure
will be used. - Protocol string
- The protocol of the API request. Valid values:
HTTP
andHTTPS
. Default isHTTPS
. - Region string
- This is the TencentCloud region. It can also be sourced from the
TENCENTCLOUD_REGION
environment variables. The default input value is ap-guangzhou. - Secret
Id string - This is the TencentCloud access key. It can also be sourced from the
TENCENTCLOUD_SECRET_ID
environment variable. - Secret
Key string - This is the TencentCloud secret key. It can also be sourced from the
TENCENTCLOUD_SECRET_KEY
environment variable. - Security
Token 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. - 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.
- Allowed
Account []stringIds - List of allowed TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
forbidden_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - Assume
Role ProviderAssume Role Args - Assume
Role ProviderWith Saml Assume Role With Saml Args - Assume
Role ProviderWith Web Identity Assume Role With Web Identity Args - Cam
Role stringName - The name of the CVM instance CAM role. It can be sourced from the
TENCENTCLOUD_CAM_ROLE_NAME
environment variable. - Cos
Domain 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
. - Domain string
- The root domain of the API request, Default is
tencentcloudapi.com
. - Enable
Pod boolOidc - Whether to enable pod oidc.
- Forbidden
Account []stringIds - List of forbidden TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
allowed_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - Mfa
Certification ProviderMfa Certification Args - Profile 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 withtccli configure
will be used. - Protocol string
- The protocol of the API request. Valid values:
HTTP
andHTTPS
. Default isHTTPS
. - Region string
- This is the TencentCloud region. It can also be sourced from the
TENCENTCLOUD_REGION
environment variables. The default input value is ap-guangzhou. - Secret
Id string - This is the TencentCloud access key. It can also be sourced from the
TENCENTCLOUD_SECRET_ID
environment variable. - Secret
Key string - This is the TencentCloud secret key. It can also be sourced from the
TENCENTCLOUD_SECRET_KEY
environment variable. - Security
Token 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. - 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.
- allowed
Account List<String>Ids - List of allowed TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
forbidden_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - assume
Role ProviderAssume Role - assume
Role ProviderWith Saml Assume Role With Saml - assume
Role ProviderWith Web Identity Assume Role With Web Identity - cam
Role StringName - The name of the CVM instance CAM role. It can be sourced from the
TENCENTCLOUD_CAM_ROLE_NAME
environment variable. - cos
Domain 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
. - domain String
- The root domain of the API request, Default is
tencentcloudapi.com
. - enable
Pod BooleanOidc - Whether to enable pod oidc.
- forbidden
Account List<String>Ids - List of forbidden TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
allowed_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - mfa
Certification ProviderMfa Certification - profile 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 withtccli configure
will be used. - protocol String
- The protocol of the API request. Valid values:
HTTP
andHTTPS
. Default isHTTPS
. - region String
- This is the TencentCloud region. It can also be sourced from the
TENCENTCLOUD_REGION
environment variables. The default input value is ap-guangzhou. - secret
Id String - This is the TencentCloud access key. It can also be sourced from the
TENCENTCLOUD_SECRET_ID
environment variable. - secret
Key String - This is the TencentCloud secret key. It can also be sourced from the
TENCENTCLOUD_SECRET_KEY
environment variable. - security
Token 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. - 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.
- allowed
Account string[]Ids - List of allowed TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
forbidden_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - assume
Role ProviderAssume Role - assume
Role ProviderWith Saml Assume Role With Saml - assume
Role ProviderWith Web Identity Assume Role With Web Identity - cam
Role stringName - The name of the CVM instance CAM role. It can be sourced from the
TENCENTCLOUD_CAM_ROLE_NAME
environment variable. - cos
Domain 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
. - domain string
- The root domain of the API request, Default is
tencentcloudapi.com
. - enable
Pod booleanOidc - Whether to enable pod oidc.
- forbidden
Account string[]Ids - List of forbidden TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
allowed_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - mfa
Certification ProviderMfa Certification - profile 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 withtccli configure
will be used. - protocol string
- The protocol of the API request. Valid values:
HTTP
andHTTPS
. Default isHTTPS
. - region string
- This is the TencentCloud region. It can also be sourced from the
TENCENTCLOUD_REGION
environment variables. The default input value is ap-guangzhou. - secret
Id string - This is the TencentCloud access key. It can also be sourced from the
TENCENTCLOUD_SECRET_ID
environment variable. - secret
Key string - This is the TencentCloud secret key. It can also be sourced from the
TENCENTCLOUD_SECRET_KEY
environment variable. - security
Token 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. - 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.
- allowed_
account_ Sequence[str]ids - List of allowed TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
forbidden_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - assume_
role ProviderAssume Role Args - assume_
role_ Providerwith_ saml Assume Role With Saml Args - assume_
role_ Providerwith_ web_ identity Assume Role With Web Identity Args - cam_
role_ strname - The name of the CVM instance CAM role. It can be sourced from the
TENCENTCLOUD_CAM_ROLE_NAME
environment variable. - cos_
domain str - 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
. - domain str
- The root domain of the API request, Default is
tencentcloudapi.com
. - enable_
pod_ booloidc - Whether to enable pod oidc.
- forbidden_
account_ Sequence[str]ids - List of forbidden TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
allowed_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - mfa_
certification ProviderMfa Certification Args - profile str
- 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 withtccli configure
will be used. - protocol str
- The protocol of the API request. Valid values:
HTTP
andHTTPS
. Default isHTTPS
. - region str
- This is the TencentCloud region. It can also be sourced from the
TENCENTCLOUD_REGION
environment variables. The default input value is ap-guangzhou. - secret_
id str - This is the TencentCloud access key. It can also be sourced from the
TENCENTCLOUD_SECRET_ID
environment variable. - secret_
key str - This is the TencentCloud secret key. It can also be sourced from the
TENCENTCLOUD_SECRET_KEY
environment variable. - security_
token str - 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. - str
- 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.
- allowed
Account List<String>Ids - List of allowed TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
forbidden_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - assume
Role Property Map - assume
Role Property MapWith Saml - assume
Role Property MapWith Web Identity - cam
Role StringName - The name of the CVM instance CAM role. It can be sourced from the
TENCENTCLOUD_CAM_ROLE_NAME
environment variable. - cos
Domain 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
. - domain String
- The root domain of the API request, Default is
tencentcloudapi.com
. - enable
Pod BooleanOidc - Whether to enable pod oidc.
- forbidden
Account List<String>Ids - List of forbidden TencentCloud account IDs to prevent you from mistakenly using the wrong one (and potentially end up
destroying a live environment). Conflicts with
allowed_account_ids
, If useassume_role_with_saml
orassume_role_with_web_identity
, it is not supported. - mfa
Certification Property Map - profile 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 withtccli configure
will be used. - protocol String
- The protocol of the API request. Valid values:
HTTP
andHTTPS
. Default isHTTPS
. - region String
- This is the TencentCloud region. It can also be sourced from the
TENCENTCLOUD_REGION
environment variables. The default input value is ap-guangzhou. - secret
Id String - This is the TencentCloud access key. It can also be sourced from the
TENCENTCLOUD_SECRET_ID
environment variable. - secret
Key String - This is the TencentCloud secret key. It can also be sourced from the
TENCENTCLOUD_SECRET_KEY
environment variable. - security
Token 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. - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ProviderAssumeRole, ProviderAssumeRoleArgs
- Role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - Session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - External
Id string - External role ID, which can be obtained by clicking the role name in the CAM console. It can contain 2-128 letters, digits, and symbols (=,.@:/-). Regex: [\w+=,.@:/-]*. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_EXTERNAL_ID
. - Policy string
- A more restrictive policy when making the AssumeRole call. Its content must not contains
principal
elements. Notice: more syntax references, please refer to: policies syntax logic. - Serial
Number string - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SERIAL_NUMBER
. - Session
Duration double - The duration of the session when making the AssumeRole call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
. - Source
Identity string - Caller identity uin. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SOURCE_IDENTITY
. - Token
Code string - MFA authentication code. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_TOKEN_CODE
.
- Role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - Session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - External
Id string - External role ID, which can be obtained by clicking the role name in the CAM console. It can contain 2-128 letters, digits, and symbols (=,.@:/-). Regex: [\w+=,.@:/-]*. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_EXTERNAL_ID
. - Policy string
- A more restrictive policy when making the AssumeRole call. Its content must not contains
principal
elements. Notice: more syntax references, please refer to: policies syntax logic. - Serial
Number string - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SERIAL_NUMBER
. - Session
Duration float64 - The duration of the session when making the AssumeRole call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
. - Source
Identity string - Caller identity uin. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SOURCE_IDENTITY
. - Token
Code string - MFA authentication code. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_TOKEN_CODE
.
- role
Arn String - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session
Name String - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - external
Id String - External role ID, which can be obtained by clicking the role name in the CAM console. It can contain 2-128 letters, digits, and symbols (=,.@:/-). Regex: [\w+=,.@:/-]*. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_EXTERNAL_ID
. - policy String
- A more restrictive policy when making the AssumeRole call. Its content must not contains
principal
elements. Notice: more syntax references, please refer to: policies syntax logic. - serial
Number String - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SERIAL_NUMBER
. - session
Duration Double - The duration of the session when making the AssumeRole call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
. - source
Identity String - Caller identity uin. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SOURCE_IDENTITY
. - token
Code String - MFA authentication code. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_TOKEN_CODE
.
- role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - external
Id string - External role ID, which can be obtained by clicking the role name in the CAM console. It can contain 2-128 letters, digits, and symbols (=,.@:/-). Regex: [\w+=,.@:/-]*. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_EXTERNAL_ID
. - policy string
- A more restrictive policy when making the AssumeRole call. Its content must not contains
principal
elements. Notice: more syntax references, please refer to: policies syntax logic. - serial
Number string - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SERIAL_NUMBER
. - session
Duration number - The duration of the session when making the AssumeRole call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
. - source
Identity string - Caller identity uin. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SOURCE_IDENTITY
. - token
Code string - MFA authentication code. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_TOKEN_CODE
.
- role_
arn str - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session_
name str - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - external_
id str - External role ID, which can be obtained by clicking the role name in the CAM console. It can contain 2-128 letters, digits, and symbols (=,.@:/-). Regex: [\w+=,.@:/-]*. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_EXTERNAL_ID
. - policy str
- A more restrictive policy when making the AssumeRole call. Its content must not contains
principal
elements. Notice: more syntax references, please refer to: policies syntax logic. - serial_
number str - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SERIAL_NUMBER
. - session_
duration float - The duration of the session when making the AssumeRole call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
. - source_
identity str - Caller identity uin. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SOURCE_IDENTITY
. - token_
code str - MFA authentication code. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_TOKEN_CODE
.
- role
Arn String - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session
Name String - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - external
Id String - External role ID, which can be obtained by clicking the role name in the CAM console. It can contain 2-128 letters, digits, and symbols (=,.@:/-). Regex: [\w+=,.@:/-]*. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_EXTERNAL_ID
. - policy String
- A more restrictive policy when making the AssumeRole call. Its content must not contains
principal
elements. Notice: more syntax references, please refer to: policies syntax logic. - serial
Number String - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SERIAL_NUMBER
. - session
Duration Number - The duration of the session when making the AssumeRole call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
. - source
Identity String - Caller identity uin. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SOURCE_IDENTITY
. - token
Code String - MFA authentication code. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_TOKEN_CODE
.
ProviderAssumeRoleWithSaml, ProviderAssumeRoleWithSamlArgs
- Principal
Arn string - Player Access Description Name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PRINCIPAL_ARN
. - Role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - Saml
Assertion string - SAML assertion information encoded in base64. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SAML_ASSERTION
. - Session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - Session
Duration double - The duration of the session when making the AssumeRoleWithSAML call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- Principal
Arn string - Player Access Description Name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PRINCIPAL_ARN
. - Role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - Saml
Assertion string - SAML assertion information encoded in base64. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SAML_ASSERTION
. - Session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - Session
Duration float64 - The duration of the session when making the AssumeRoleWithSAML call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- principal
Arn String - Player Access Description Name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PRINCIPAL_ARN
. - role
Arn String - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - saml
Assertion String - SAML assertion information encoded in base64. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SAML_ASSERTION
. - session
Name String - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - session
Duration Double - The duration of the session when making the AssumeRoleWithSAML call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- principal
Arn string - Player Access Description Name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PRINCIPAL_ARN
. - role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - saml
Assertion string - SAML assertion information encoded in base64. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SAML_ASSERTION
. - session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - session
Duration number - The duration of the session when making the AssumeRoleWithSAML call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- principal_
arn str - Player Access Description Name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PRINCIPAL_ARN
. - role_
arn str - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - saml_
assertion str - SAML assertion information encoded in base64. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SAML_ASSERTION
. - session_
name str - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - session_
duration float - The duration of the session when making the AssumeRoleWithSAML call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- principal
Arn String - Player Access Description Name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PRINCIPAL_ARN
. - role
Arn String - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - saml
Assertion String - SAML assertion information encoded in base64. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SAML_ASSERTION
. - session
Name String - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - session
Duration Number - The duration of the session when making the AssumeRoleWithSAML call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
ProviderAssumeRoleWithWebIdentity, ProviderAssumeRoleWithWebIdentityArgs
- Role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - Session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - Web
Identity stringToken - OIDC token issued by IdP. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_WEB_IDENTITY_TOKEN
. - Provider
Id string - Identity provider name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PROVIDER_ID
, Default is OIDC. - Session
Duration double - The duration of the session when making the AssumeRoleWithWebIdentity call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- Role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - Session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - Web
Identity stringToken - OIDC token issued by IdP. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_WEB_IDENTITY_TOKEN
. - Provider
Id string - Identity provider name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PROVIDER_ID
, Default is OIDC. - Session
Duration float64 - The duration of the session when making the AssumeRoleWithWebIdentity call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- role
Arn String - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session
Name String - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - web
Identity StringToken - OIDC token issued by IdP. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_WEB_IDENTITY_TOKEN
. - provider
Id String - Identity provider name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PROVIDER_ID
, Default is OIDC. - session
Duration Double - The duration of the session when making the AssumeRoleWithWebIdentity call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- role
Arn string - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session
Name string - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - web
Identity stringToken - OIDC token issued by IdP. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_WEB_IDENTITY_TOKEN
. - provider
Id string - Identity provider name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PROVIDER_ID
, Default is OIDC. - session
Duration number - The duration of the session when making the AssumeRoleWithWebIdentity call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- role_
arn str - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session_
name str - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - web_
identity_ strtoken - OIDC token issued by IdP. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_WEB_IDENTITY_TOKEN
. - provider_
id str - Identity provider name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PROVIDER_ID
, Default is OIDC. - session_
duration float - The duration of the session when making the AssumeRoleWithWebIdentity call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
- role
Arn String - The ARN of the role to assume. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_ARN
. - session
Name String - The session name to use when making the AssumeRole call. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME
. - web
Identity StringToken - OIDC token issued by IdP. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_WEB_IDENTITY_TOKEN
. - provider
Id String - Identity provider name. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_PROVIDER_ID
, Default is OIDC. - session
Duration Number - The duration of the session when making the AssumeRoleWithWebIdentity call. Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the
TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION
.
ProviderMfaCertification, ProviderMfaCertificationArgs
- Serial
Number string - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_SERIAL_NUMBER
. - Token
Code string - MFA authentication code. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_TOKEN_CODE
. - Duration
Seconds double - Specify the validity period of the temporary certificate. The main account can be set to a maximum validity period of 7200 seconds, and the sub account can be set to a maximum validity period of 129600 seconds, and default is 1800 seconds. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_DURATION_SECONDS
.
- Serial
Number string - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_SERIAL_NUMBER
. - Token
Code string - MFA authentication code. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_TOKEN_CODE
. - Duration
Seconds float64 - Specify the validity period of the temporary certificate. The main account can be set to a maximum validity period of 7200 seconds, and the sub account can be set to a maximum validity period of 129600 seconds, and default is 1800 seconds. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_DURATION_SECONDS
.
- serial
Number String - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_SERIAL_NUMBER
. - token
Code String - MFA authentication code. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_TOKEN_CODE
. - duration
Seconds Double - Specify the validity period of the temporary certificate. The main account can be set to a maximum validity period of 7200 seconds, and the sub account can be set to a maximum validity period of 129600 seconds, and default is 1800 seconds. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_DURATION_SECONDS
.
- serial
Number string - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_SERIAL_NUMBER
. - token
Code string - MFA authentication code. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_TOKEN_CODE
. - duration
Seconds number - Specify the validity period of the temporary certificate. The main account can be set to a maximum validity period of 7200 seconds, and the sub account can be set to a maximum validity period of 129600 seconds, and default is 1800 seconds. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_DURATION_SECONDS
.
- serial_
number str - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_SERIAL_NUMBER
. - token_
code str - MFA authentication code. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_TOKEN_CODE
. - duration_
seconds float - Specify the validity period of the temporary certificate. The main account can be set to a maximum validity period of 7200 seconds, and the sub account can be set to a maximum validity period of 129600 seconds, and default is 1800 seconds. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_DURATION_SECONDS
.
- serial
Number String - MFA serial number, the identification number of the MFA device associated with the calling CAM user. Format qcs: cam:uin/${ownerUin}::mfa/${mfaType}. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_SERIAL_NUMBER
. - token
Code String - MFA authentication code. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_TOKEN_CODE
. - duration
Seconds Number - Specify the validity period of the temporary certificate. The main account can be set to a maximum validity period of 7200 seconds, and the sub account can be set to a maximum validity period of 129600 seconds, and default is 1800 seconds. It can be sourced from the
TENCENTCLOUD_MFA_CERTIFICATION_DURATION_SECONDS
.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.