ProviderArgs

data class ProviderArgs(val accessKey: Output<String>? = null, val allowedAccountIds: Output<List<String>>? = null, val assumeRole: Output<ProviderAssumeRoleArgs>? = null, val assumeRoleWithWebIdentity: Output<ProviderAssumeRoleWithWebIdentityArgs>? = null, val customCaBundle: Output<String>? = null, val defaultTags: Output<ProviderDefaultTagsArgs>? = null, val ec2MetadataServiceEndpoint: Output<String>? = null, val ec2MetadataServiceEndpointMode: Output<String>? = null, val endpoints: Output<List<ProviderEndpointArgs>>? = null, val forbiddenAccountIds: Output<List<String>>? = null, val httpProxy: Output<String>? = null, val ignoreTags: Output<ProviderIgnoreTagsArgs>? = null, val insecure: Output<Boolean>? = null, val maxRetries: Output<Int>? = null, val profile: Output<String>? = null, val region: Output<String>? = null, val s3ForcePathStyle: Output<Boolean>? = null, val s3UsePathStyle: Output<Boolean>? = null, val secretKey: Output<String>? = null, val sharedConfigFiles: Output<List<String>>? = null, val sharedCredentialsFile: Output<String>? = null, val sharedCredentialsFiles: Output<List<String>>? = null, val skipCredentialsValidation: Output<Boolean>? = null, val skipGetEc2Platforms: Output<Boolean>? = null, val skipMetadataApiCheck: Output<Boolean>? = null, val skipRegionValidation: Output<Boolean>? = null, val skipRequestingAccountId: Output<Boolean>? = null, val stsRegion: Output<String>? = null, val token: Output<String>? = null, val useDualstackEndpoint: Output<Boolean>? = null, val useFipsEndpoint: Output<Boolean>? = null) : ConvertibleToJava<ProviderArgs>

The provider type for the aws 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.

Constructors

Link copied to clipboard
constructor(accessKey: Output<String>? = null, allowedAccountIds: Output<List<String>>? = null, assumeRole: Output<ProviderAssumeRoleArgs>? = null, assumeRoleWithWebIdentity: Output<ProviderAssumeRoleWithWebIdentityArgs>? = null, customCaBundle: Output<String>? = null, defaultTags: Output<ProviderDefaultTagsArgs>? = null, ec2MetadataServiceEndpoint: Output<String>? = null, ec2MetadataServiceEndpointMode: Output<String>? = null, endpoints: Output<List<ProviderEndpointArgs>>? = null, forbiddenAccountIds: Output<List<String>>? = null, httpProxy: Output<String>? = null, ignoreTags: Output<ProviderIgnoreTagsArgs>? = null, insecure: Output<Boolean>? = null, maxRetries: Output<Int>? = null, profile: Output<String>? = null, region: Output<String>? = null, s3ForcePathStyle: Output<Boolean>? = null, s3UsePathStyle: Output<Boolean>? = null, secretKey: Output<String>? = null, sharedConfigFiles: Output<List<String>>? = null, sharedCredentialsFile: Output<String>? = null, sharedCredentialsFiles: Output<List<String>>? = null, skipCredentialsValidation: Output<Boolean>? = null, skipGetEc2Platforms: Output<Boolean>? = null, skipMetadataApiCheck: Output<Boolean>? = null, skipRegionValidation: Output<Boolean>? = null, skipRequestingAccountId: Output<Boolean>? = null, stsRegion: Output<String>? = null, token: Output<String>? = null, useDualstackEndpoint: Output<Boolean>? = null, useFipsEndpoint: Output<Boolean>? = null)

Properties

Link copied to clipboard
val accessKey: Output<String>? = null

The access key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console.

Link copied to clipboard
val allowedAccountIds: Output<List<String>>? = null
Link copied to clipboard
val assumeRole: Output<ProviderAssumeRoleArgs>? = null
Link copied to clipboard
val customCaBundle: Output<String>? = null

File containing custom root and intermediate certificates. Can also be configured using the AWS_CA_BUNDLE environment variable. (Setting ca_bundle in the shared config file is not supported.)

Link copied to clipboard

Configuration block with settings to default resource tags across all resources.

Link copied to clipboard
val ec2MetadataServiceEndpoint: Output<String>? = null

Address of the EC2 metadata service endpoint to use. Can also be configured using the AWS_EC2_METADATA_SERVICE_ENDPOINT environment variable.

Link copied to clipboard

Protocol to use with EC2 metadata service endpoint.Valid values are IPv4 and IPv6. Can also be configured using the AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE environment variable.

Link copied to clipboard
val endpoints: Output<List<ProviderEndpointArgs>>? = null
Link copied to clipboard
val forbiddenAccountIds: Output<List<String>>? = null
Link copied to clipboard
val httpProxy: Output<String>? = null

The address of an HTTP proxy to use when accessing the AWS API. Can also be configured using the HTTP_PROXY or HTTPS_PROXY environment variables.

Link copied to clipboard
val ignoreTags: Output<ProviderIgnoreTagsArgs>? = null

Configuration block with settings to ignore resource tags across all resources.

Link copied to clipboard
val insecure: Output<Boolean>? = null

Explicitly allow the provider to perform "insecure" SSL requests. If omitted, default value is false

Link copied to clipboard
val maxRetries: Output<Int>? = null

The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown.

Link copied to clipboard
val profile: Output<String>? = null

The profile for API operations. If not set, the default profile created with aws configure will be used.

Link copied to clipboard
val region: Output<String>? = null

The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.

Link copied to clipboard
val s3ForcePathStyle: Output<Boolean>? = null

Set this to true to enable the request to use path-style addressing, i.e., https://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual hosted bucket addressing when possible (https://BUCKET.s3.amazonaws.com/KEY). Specific to the Amazon S3 service.

Link copied to clipboard
val s3UsePathStyle: Output<Boolean>? = null

Set this to true to enable the request to use path-style addressing, i.e., https://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual hosted bucket addressing when possible (https://BUCKET.s3.amazonaws.com/KEY). Specific to the Amazon S3 service.

Link copied to clipboard
val secretKey: Output<String>? = null

The secret key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console.

Link copied to clipboard
val sharedConfigFiles: Output<List<String>>? = null

List of paths to shared config files. If not set, defaults to ~/.aws/config.

Link copied to clipboard
val sharedCredentialsFile: Output<String>? = null

The path to the shared credentials file. If not set, defaults to ~/.aws/credentials.

Link copied to clipboard
val sharedCredentialsFiles: Output<List<String>>? = null

List of paths to shared credentials files. If not set, defaults to ~/.aws/credentials.

Link copied to clipboard
val skipCredentialsValidation: Output<Boolean>? = null

Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.

Link copied to clipboard
val skipGetEc2Platforms: Output<Boolean>? = null

Skip getting the supported EC2 platforms. Used by users that don't have ec2:DescribeAccountAttributes permissions.

Link copied to clipboard
val skipMetadataApiCheck: Output<Boolean>? = null

Skip the AWS Metadata API check. Used for AWS API implementations that do not have a metadata api endpoint.

Link copied to clipboard
val skipRegionValidation: Output<Boolean>? = null

Skip static validation of region name. Used by users of alternative AWS-like APIs or users w/ access to regions that are not public (yet).

Link copied to clipboard
val skipRequestingAccountId: Output<Boolean>? = null

Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.

Link copied to clipboard
val stsRegion: Output<String>? = null

The region where AWS STS operations will take place. Examples are us-east-1 and us-west-2.

Link copied to clipboard
val token: Output<String>? = null

session token. A session token is only required if you are using temporary security credentials.

Link copied to clipboard
val useDualstackEndpoint: Output<Boolean>? = null

Resolve an endpoint with DualStack capability

Link copied to clipboard
val useFipsEndpoint: Output<Boolean>? = null

Resolve an endpoint with FIPS capability

Functions

Link copied to clipboard
open override fun toJava(): ProviderArgs