Class ProviderArgs.Builder

  • Enclosing class:
    ProviderArgs

    public static final class ProviderArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • accessKey

        public ProviderArgs.Builder accessKey​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> accessKey)
        Parameters:
        accessKey - The access key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console.
        Returns:
        builder
      • accessKey

        public ProviderArgs.Builder accessKey​(java.lang.String accessKey)
        Parameters:
        accessKey - The access key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console.
        Returns:
        builder
      • allowedAccountIds

        public ProviderArgs.Builder allowedAccountIds​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> allowedAccountIds)
      • allowedAccountIds

        public ProviderArgs.Builder allowedAccountIds​(java.util.List<java.lang.String> allowedAccountIds)
      • allowedAccountIds

        public ProviderArgs.Builder allowedAccountIds​(java.lang.String... allowedAccountIds)
      • customCaBundle

        public ProviderArgs.Builder customCaBundle​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> customCaBundle)
        Parameters:
        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.)
        Returns:
        builder
      • customCaBundle

        public ProviderArgs.Builder customCaBundle​(java.lang.String customCaBundle)
        Parameters:
        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.)
        Returns:
        builder
      • defaultTags

        public ProviderArgs.Builder defaultTags​(@Nullable
                                                com.pulumi.core.Output<ProviderDefaultTagsArgs> defaultTags)
        Parameters:
        defaultTags - Configuration block with settings to default resource tags across all resources.
        Returns:
        builder
      • defaultTags

        public ProviderArgs.Builder defaultTags​(ProviderDefaultTagsArgs defaultTags)
        Parameters:
        defaultTags - Configuration block with settings to default resource tags across all resources.
        Returns:
        builder
      • ec2MetadataServiceEndpoint

        public ProviderArgs.Builder ec2MetadataServiceEndpoint​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> ec2MetadataServiceEndpoint)
        Parameters:
        ec2MetadataServiceEndpoint - Address of the EC2 metadata service endpoint to use. Can also be configured using the `AWS_EC2_METADATA_SERVICE_ENDPOINT` environment variable.
        Returns:
        builder
      • ec2MetadataServiceEndpoint

        public ProviderArgs.Builder ec2MetadataServiceEndpoint​(java.lang.String ec2MetadataServiceEndpoint)
        Parameters:
        ec2MetadataServiceEndpoint - Address of the EC2 metadata service endpoint to use. Can also be configured using the `AWS_EC2_METADATA_SERVICE_ENDPOINT` environment variable.
        Returns:
        builder
      • ec2MetadataServiceEndpointMode

        public ProviderArgs.Builder ec2MetadataServiceEndpointMode​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> ec2MetadataServiceEndpointMode)
        Parameters:
        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.
        Returns:
        builder
      • ec2MetadataServiceEndpointMode

        public ProviderArgs.Builder ec2MetadataServiceEndpointMode​(java.lang.String ec2MetadataServiceEndpointMode)
        Parameters:
        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.
        Returns:
        builder
      • forbiddenAccountIds

        public ProviderArgs.Builder forbiddenAccountIds​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> forbiddenAccountIds)
      • forbiddenAccountIds

        public ProviderArgs.Builder forbiddenAccountIds​(java.util.List<java.lang.String> forbiddenAccountIds)
      • forbiddenAccountIds

        public ProviderArgs.Builder forbiddenAccountIds​(java.lang.String... forbiddenAccountIds)
      • httpProxy

        public ProviderArgs.Builder httpProxy​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> httpProxy)
        Parameters:
        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.
        Returns:
        builder
      • httpProxy

        public ProviderArgs.Builder httpProxy​(java.lang.String httpProxy)
        Parameters:
        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.
        Returns:
        builder
      • httpsProxy

        public ProviderArgs.Builder httpsProxy​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> httpsProxy)
        Parameters:
        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.
        Returns:
        builder
      • httpsProxy

        public ProviderArgs.Builder httpsProxy​(java.lang.String httpsProxy)
        Parameters:
        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.
        Returns:
        builder
      • ignoreTags

        public ProviderArgs.Builder ignoreTags​(@Nullable
                                               com.pulumi.core.Output<ProviderIgnoreTagsArgs> ignoreTags)
        Parameters:
        ignoreTags - Configuration block with settings to ignore resource tags across all resources.
        Returns:
        builder
      • ignoreTags

        public ProviderArgs.Builder ignoreTags​(ProviderIgnoreTagsArgs ignoreTags)
        Parameters:
        ignoreTags - Configuration block with settings to ignore resource tags across all resources.
        Returns:
        builder
      • insecure

        public ProviderArgs.Builder insecure​(@Nullable
                                             com.pulumi.core.Output<java.lang.Boolean> insecure)
        Parameters:
        insecure - Explicitly allow the provider to perform "insecure" SSL requests. If omitted, default value is `false`
        Returns:
        builder
      • insecure

        public ProviderArgs.Builder insecure​(java.lang.Boolean insecure)
        Parameters:
        insecure - Explicitly allow the provider to perform "insecure" SSL requests. If omitted, default value is `false`
        Returns:
        builder
      • maxRetries

        public ProviderArgs.Builder maxRetries​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> maxRetries)
        Parameters:
        maxRetries - The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown.
        Returns:
        builder
      • maxRetries

        public ProviderArgs.Builder maxRetries​(java.lang.Integer maxRetries)
        Parameters:
        maxRetries - The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown.
        Returns:
        builder
      • noProxy

        public ProviderArgs.Builder noProxy​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> noProxy)
        Parameters:
        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.
        Returns:
        builder
      • noProxy

        public ProviderArgs.Builder noProxy​(java.lang.String noProxy)
        Parameters:
        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.
        Returns:
        builder
      • profile

        public ProviderArgs.Builder profile​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> profile)
        Parameters:
        profile - The profile for API operations. If not set, the default profile created with `aws configure` will be used.
        Returns:
        builder
      • profile

        public ProviderArgs.Builder profile​(java.lang.String profile)
        Parameters:
        profile - The profile for API operations. If not set, the default profile created with `aws configure` will be used.
        Returns:
        builder
      • region

        public ProviderArgs.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
        Returns:
        builder
      • region

        public ProviderArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
        Returns:
        builder
      • retryMode

        public ProviderArgs.Builder retryMode​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> retryMode)
        Parameters:
        retryMode - Specifies how retries are attempted. Valid values are `standard` and `adaptive`. Can also be configured using the `AWS_RETRY_MODE` environment variable.
        Returns:
        builder
      • retryMode

        public ProviderArgs.Builder retryMode​(java.lang.String retryMode)
        Parameters:
        retryMode - Specifies how retries are attempted. Valid values are `standard` and `adaptive`. Can also be configured using the `AWS_RETRY_MODE` environment variable.
        Returns:
        builder
      • s3UsEast1RegionalEndpoint

        public ProviderArgs.Builder s3UsEast1RegionalEndpoint​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> s3UsEast1RegionalEndpoint)
        Parameters:
        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
        Returns:
        builder
      • s3UsEast1RegionalEndpoint

        public ProviderArgs.Builder s3UsEast1RegionalEndpoint​(java.lang.String s3UsEast1RegionalEndpoint)
        Parameters:
        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
        Returns:
        builder
      • s3UsePathStyle

        public ProviderArgs.Builder s3UsePathStyle​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> s3UsePathStyle)
        Parameters:
        s3UsePathStyle - 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.
        Returns:
        builder
      • s3UsePathStyle

        public ProviderArgs.Builder s3UsePathStyle​(java.lang.Boolean s3UsePathStyle)
        Parameters:
        s3UsePathStyle - 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.
        Returns:
        builder
      • secretKey

        public ProviderArgs.Builder secretKey​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> secretKey)
        Parameters:
        secretKey - The secret key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console.
        Returns:
        builder
      • secretKey

        public ProviderArgs.Builder secretKey​(java.lang.String secretKey)
        Parameters:
        secretKey - The secret key for API operations. You can retrieve this from the 'Security & Credentials' section of the AWS console.
        Returns:
        builder
      • sharedConfigFiles

        public ProviderArgs.Builder sharedConfigFiles​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> sharedConfigFiles)
        Parameters:
        sharedConfigFiles - List of paths to shared config files. If not set, defaults to [~/.aws/config].
        Returns:
        builder
      • sharedConfigFiles

        public ProviderArgs.Builder sharedConfigFiles​(java.util.List<java.lang.String> sharedConfigFiles)
        Parameters:
        sharedConfigFiles - List of paths to shared config files. If not set, defaults to [~/.aws/config].
        Returns:
        builder
      • sharedConfigFiles

        public ProviderArgs.Builder sharedConfigFiles​(java.lang.String... sharedConfigFiles)
        Parameters:
        sharedConfigFiles - List of paths to shared config files. If not set, defaults to [~/.aws/config].
        Returns:
        builder
      • sharedCredentialsFiles

        public ProviderArgs.Builder sharedCredentialsFiles​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> sharedCredentialsFiles)
        Parameters:
        sharedCredentialsFiles - List of paths to shared credentials files. If not set, defaults to [~/.aws/credentials].
        Returns:
        builder
      • sharedCredentialsFiles

        public ProviderArgs.Builder sharedCredentialsFiles​(java.util.List<java.lang.String> sharedCredentialsFiles)
        Parameters:
        sharedCredentialsFiles - List of paths to shared credentials files. If not set, defaults to [~/.aws/credentials].
        Returns:
        builder
      • sharedCredentialsFiles

        public ProviderArgs.Builder sharedCredentialsFiles​(java.lang.String... sharedCredentialsFiles)
        Parameters:
        sharedCredentialsFiles - List of paths to shared credentials files. If not set, defaults to [~/.aws/credentials].
        Returns:
        builder
      • skipCredentialsValidation

        public ProviderArgs.Builder skipCredentialsValidation​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> skipCredentialsValidation)
        Parameters:
        skipCredentialsValidation - Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.
        Returns:
        builder
      • skipCredentialsValidation

        public ProviderArgs.Builder skipCredentialsValidation​(java.lang.Boolean skipCredentialsValidation)
        Parameters:
        skipCredentialsValidation - Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.
        Returns:
        builder
      • skipMetadataApiCheck

        public ProviderArgs.Builder skipMetadataApiCheck​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> skipMetadataApiCheck)
        Parameters:
        skipMetadataApiCheck - Skip the AWS Metadata API check. Used for AWS API implementations that do not have a metadata api endpoint.
        Returns:
        builder
      • skipMetadataApiCheck

        public ProviderArgs.Builder skipMetadataApiCheck​(java.lang.Boolean skipMetadataApiCheck)
        Parameters:
        skipMetadataApiCheck - Skip the AWS Metadata API check. Used for AWS API implementations that do not have a metadata api endpoint.
        Returns:
        builder
      • skipRegionValidation

        public ProviderArgs.Builder skipRegionValidation​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> skipRegionValidation)
        Parameters:
        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).
        Returns:
        builder
      • skipRegionValidation

        public ProviderArgs.Builder skipRegionValidation​(java.lang.Boolean skipRegionValidation)
        Parameters:
        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).
        Returns:
        builder
      • skipRequestingAccountId

        public ProviderArgs.Builder skipRequestingAccountId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> skipRequestingAccountId)
        Parameters:
        skipRequestingAccountId - Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.
        Returns:
        builder
      • skipRequestingAccountId

        public ProviderArgs.Builder skipRequestingAccountId​(java.lang.Boolean skipRequestingAccountId)
        Parameters:
        skipRequestingAccountId - Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.
        Returns:
        builder
      • stsRegion

        public ProviderArgs.Builder stsRegion​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> stsRegion)
        Parameters:
        stsRegion - The region where AWS STS operations will take place. Examples are us-east-1 and us-west-2.
        Returns:
        builder
      • stsRegion

        public ProviderArgs.Builder stsRegion​(java.lang.String stsRegion)
        Parameters:
        stsRegion - The region where AWS STS operations will take place. Examples are us-east-1 and us-west-2.
        Returns:
        builder
      • tagPolicyCompliance

        public ProviderArgs.Builder tagPolicyCompliance​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> tagPolicyCompliance)
        Parameters:
        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.
        Returns:
        builder
      • tagPolicyCompliance

        public ProviderArgs.Builder tagPolicyCompliance​(java.lang.String tagPolicyCompliance)
        Parameters:
        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.
        Returns:
        builder
      • token

        public ProviderArgs.Builder token​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> token)
        Parameters:
        token - session token. A session token is only required if you are using temporary security credentials.
        Returns:
        builder
      • token

        public ProviderArgs.Builder token​(java.lang.String token)
        Parameters:
        token - session token. A session token is only required if you are using temporary security credentials.
        Returns:
        builder
      • tokenBucketRateLimiterCapacity

        public ProviderArgs.Builder tokenBucketRateLimiterCapacity​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Integer> tokenBucketRateLimiterCapacity)
        Parameters:
        tokenBucketRateLimiterCapacity - The capacity of the AWS SDK's token bucket rate limiter.
        Returns:
        builder
      • tokenBucketRateLimiterCapacity

        public ProviderArgs.Builder tokenBucketRateLimiterCapacity​(java.lang.Integer tokenBucketRateLimiterCapacity)
        Parameters:
        tokenBucketRateLimiterCapacity - The capacity of the AWS SDK's token bucket rate limiter.
        Returns:
        builder
      • useDualstackEndpoint

        public ProviderArgs.Builder useDualstackEndpoint​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> useDualstackEndpoint)
        Parameters:
        useDualstackEndpoint - Resolve an endpoint with DualStack capability
        Returns:
        builder
      • useDualstackEndpoint

        public ProviderArgs.Builder useDualstackEndpoint​(java.lang.Boolean useDualstackEndpoint)
        Parameters:
        useDualstackEndpoint - Resolve an endpoint with DualStack capability
        Returns:
        builder
      • useFipsEndpoint

        public ProviderArgs.Builder useFipsEndpoint​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> useFipsEndpoint)
        Parameters:
        useFipsEndpoint - Resolve an endpoint with FIPS capability
        Returns:
        builder
      • useFipsEndpoint

        public ProviderArgs.Builder useFipsEndpoint​(java.lang.Boolean useFipsEndpoint)
        Parameters:
        useFipsEndpoint - Resolve an endpoint with FIPS capability
        Returns:
        builder
      • userAgents

        public ProviderArgs.Builder userAgents​(@Nullable
                                               com.pulumi.core.Output<java.util.List<java.lang.String>> userAgents)
        Parameters:
        userAgents - Product details to append to the User-Agent string sent in all AWS API calls.
        Returns:
        builder
      • userAgents

        public ProviderArgs.Builder userAgents​(java.util.List<java.lang.String> userAgents)
        Parameters:
        userAgents - Product details to append to the User-Agent string sent in all AWS API calls.
        Returns:
        builder
      • userAgents

        public ProviderArgs.Builder userAgents​(java.lang.String... userAgents)
        Parameters:
        userAgents - Product details to append to the User-Agent string sent in all AWS API calls.
        Returns:
        builder