ProviderArgs constructor
- Input<
String?> ? accessKey, - Input<
List< ? allowedAccountIds,String> ?> - Input<
ProviderAssumeRoleWithWebIdentity?> ? assumeRoleWithWebIdentity, - Input<
List< ? assumeRoles,ProviderAssumeRole> ?> - Input<
String?> ? customCaBundle, - Input<
ProviderDefaultTags?> ? defaultTags, - Input<
String?> ? ec2MetadataServiceEndpoint, - Input<
String?> ? ec2MetadataServiceEndpointMode, - Input<
List< ? endpoints,ProviderEndpoint> ?> - Input<
List< ? forbiddenAccountIds,String> ?> - Input<
String?> ? httpProxy, - Input<
String?> ? httpsProxy, - Input<
ProviderIgnoreTags?> ? ignoreTags, - Input<
bool?> ? insecure, - Input<
int?> ? maxRetries, - Input<
String?> ? noProxy, - Input<
String?> ? profile, - Input<
String?> ? region, - Input<
String?> ? retryMode, - Input<
String?> ? s3UsEast1RegionalEndpoint, - Input<
bool?> ? s3UsePathStyle, - Input<
String?> ? secretKey, - Input<
bool?> ? skipCredentialsValidation, - Input<
bool?> ? skipMetadataApiCheck, - Input<
bool?> ? skipRegionValidation, - Input<
bool?> ? skipRequestingAccountId, - Input<
String?> ? stsRegion, - Input<
String?> ? tagPolicyCompliance, - Input<
String?> ? token, - Input<
int?> ? tokenBucketRateLimiterCapacity, - Input<
bool?> ? useDualstackEndpoint, - Input<
bool?> ? useFipsEndpoint, - Input<
List< ? userAgents,String> ?>
Creates a new ProviderArgs.
accessKey The access key for API operations. You can retrieve this
allowedAccountIds Optional.
assumeRoleWithWebIdentity Optional.
assumeRoles Optional.
customCaBundle File containing custom root and intermediate certificates. Can also be configured using the AWS_CA_BUNDLE environment variable. (Setting caBundle in the shared config file is not supported.)
defaultTags Configuration block with settings to default resource tags across all resources.
ec2MetadataServiceEndpoint Address of the EC2 metadata service endpoint to use. Can also be configured using the AWS_EC2_METADATA_SERVICE_ENDPOINT environment variable.
ec2MetadataServiceEndpointMode 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.
endpoints Optional.
forbiddenAccountIds Optional.
httpProxy URL of a proxy to use for HTTP requests when accessing the AWS API. Can also be set using the HTTP_PROXY or httpProxy environment variables.
httpsProxy URL of a proxy to use for HTTPS requests when accessing the AWS API. Can also be set using the HTTPS_PROXY or httpsProxy environment variables.
ignoreTags Configuration block with settings to ignore resource tags across all resources.
insecure Explicitly allow the provider to perform "insecure" SSL requests. If omitted, default value is false
maxRetries The maximum number of times an AWS API request is
noProxy Comma-separated list of hosts that should not use HTTP or HTTPS proxies. Can also be set using the NO_PROXY or noProxy environment variables.
profile The profile for API operations. If not set, the default profile
region The region where AWS operations will take place. Examples
retryMode Specifies how retries are attempted. Valid values are standard and adaptive. Can also be configured using the AWS_RETRY_MODE environment variable.
s3UsEast1RegionalEndpoint Specifies whether S3 API calls in the us-east-1 region use the legacy global endpoint or a regional endpoint. Valid values are legacy or regional. Can also be configured using the AWS_S3_US_EAST_1_REGIONAL_ENDPOINT environment variable or the s3UsEast1RegionalEndpoint shared config file parameter
s3UsePathStyle Set this to true to enable the request to use path-style addressing,
secretKey The secret key for API operations. You can retrieve this
sharedConfigFiles List of paths to shared config files. If not set, defaults to ~/.aws/config.
sharedCredentialsFiles List of paths to shared credentials files. If not set, defaults to ~/.aws/credentials.
skipCredentialsValidation Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.
skipMetadataApiCheck Skip the AWS Metadata API check. Used for AWS API implementations that do not have a metadata api endpoint.
skipRegionValidation 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).
skipRequestingAccountId Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.
stsRegion The region where AWS STS operations will take place. Examples
tagPolicyCompliance The severity with which to enforce organizational tagging policies on resources managed by this provider instance. At this time this only includes compliance with required tag keys by resource type. Valid values are "error", "warning", and "disabled". When unset or "disabled", tag policy compliance will not be enforced by the provider. Can also be configured with the TF_AWS_TAG_POLICY_COMPLIANCE environment variable.
token session token. A session token is only required if you are
tokenBucketRateLimiterCapacity The capacity of the AWS SDK's token bucket rate limiter.
useDualstackEndpoint Resolve an endpoint with DualStack capability
useFipsEndpoint Resolve an endpoint with FIPS capability
userAgents Product details to append to the User-Agent string sent in all AWS API calls.
Implementation
ProviderArgs({
this.accessKey,
this.allowedAccountIds,
this.assumeRoleWithWebIdentity,
this.assumeRoles,
this.customCaBundle,
this.defaultTags,
this.ec2MetadataServiceEndpoint,
this.ec2MetadataServiceEndpointMode,
this.endpoints,
this.forbiddenAccountIds,
this.httpProxy,
this.httpsProxy,
this.ignoreTags,
this.insecure,
this.maxRetries,
this.noProxy,
this.profile,
this.region,
this.retryMode,
this.s3UsEast1RegionalEndpoint,
this.s3UsePathStyle,
this.secretKey,
this.sharedConfigFiles,
this.sharedCredentialsFiles,
pulumi.Input<bool?>? skipCredentialsValidation,
this.skipMetadataApiCheck,
pulumi.Input<bool?>? skipRegionValidation,
this.skipRequestingAccountId,
this.stsRegion,
this.tagPolicyCompliance,
this.token,
this.tokenBucketRateLimiterCapacity,
this.useDualstackEndpoint,
this.useFipsEndpoint,
this.userAgents,
}) : skipCredentialsValidation = skipCredentialsValidation ?? pulumi.Input.fromValue(false), skipRegionValidation = skipRegionValidation ?? pulumi.Input.fromValue(true);