Provider
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.
Create a Provider Resource
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);def Provider(resource_name, opts=None, access_key=None, allowed_account_ids=None, assume_role=None, endpoints=None, forbidden_account_ids=None, ignore_tags=None, insecure=None, max_retries=None, profile=None, region=None, s3_force_path_style=None, secret_key=None, shared_credentials_file=None, skip_credentials_validation=None, skip_get_ec2_platforms=None, skip_metadata_api_check=None, skip_region_validation=None, skip_requesting_account_id=None, token=None, __props__=None);func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Provider resource accepts the following input properties:
- Access
Key string The access key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- Allowed
Account List<string>Ids - Assume
Role ProviderAssume Role Args - Endpoints
List<Provider
Endpoint Args> - Forbidden
Account List<string>Ids -
Provider
Ignore Tags Args Configuration block with settings to ignore resource tags across all resources.
- Insecure bool
Explicitly allow the provider to perform “insecure” SSL requests. If omitted,default value is
false- Max
Retries int The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown.
- Profile string
The profile for API operations. If not set, the default profile created with
aws configurewill be used.- Region string
The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
- S3Force
Path boolStyle Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual hosted bucket addressing when possible (http://BUCKET.s3.amazonaws.com/KEY). Specific to the Amazon S3 service.
- Secret
Key string The secret key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- string
The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- Skip
Credentials boolValidation Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.
- Skip
Get boolEc2Platforms Skip getting the supported EC2 platforms. Used by users that don’t have ec2:DescribeAccountAttributes permissions.
- Skip
Metadata boolApi Check - Skip
Region boolValidation 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).
- Skip
Requesting boolAccount Id Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.
- Token string
session token. A session token is only required if you are using temporary security credentials.
- Access
Key string The access key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- Allowed
Account []stringIds - Assume
Role ProviderAssume Role - Endpoints
[]Provider
Endpoint - Forbidden
Account []stringIds -
Provider
Ignore Tags Configuration block with settings to ignore resource tags across all resources.
- Insecure bool
Explicitly allow the provider to perform “insecure” SSL requests. If omitted,default value is
false- Max
Retries int The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown.
- Profile string
The profile for API operations. If not set, the default profile created with
aws configurewill be used.- Region string
The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
- S3Force
Path boolStyle Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual hosted bucket addressing when possible (http://BUCKET.s3.amazonaws.com/KEY). Specific to the Amazon S3 service.
- Secret
Key string The secret key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- string
The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- Skip
Credentials boolValidation Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.
- Skip
Get boolEc2Platforms Skip getting the supported EC2 platforms. Used by users that don’t have ec2:DescribeAccountAttributes permissions.
- Skip
Metadata boolApi Check - Skip
Region boolValidation 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).
- Skip
Requesting boolAccount Id Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.
- Token string
session token. A session token is only required if you are using temporary security credentials.
- access
Key string The access key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- allowed
Account string[]Ids - assume
Role ProviderAssume Role - endpoints
Provider
Endpoint[] - forbidden
Account string[]Ids -
Provider
Ignore Tags Configuration block with settings to ignore resource tags across all resources.
- insecure boolean
Explicitly allow the provider to perform “insecure” SSL requests. If omitted,default value is
false- max
Retries number The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown.
- profile string
The profile for API operations. If not set, the default profile created with
aws configurewill be used.- region Region
The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
- s3Force
Path booleanStyle Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual hosted bucket addressing when possible (http://BUCKET.s3.amazonaws.com/KEY). Specific to the Amazon S3 service.
- secret
Key string The secret key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- string
The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- skip
Credentials booleanValidation Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.
- skip
Get booleanEc2Platforms Skip getting the supported EC2 platforms. Used by users that don’t have ec2:DescribeAccountAttributes permissions.
- skip
Metadata booleanApi Check - skip
Region booleanValidation 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).
- skip
Requesting booleanAccount Id Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.
- token string
session token. A session token is only required if you are using temporary security credentials.
- access_
key str The access key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- allowed_
account_ List[str]ids - assume_
role Dict[ProviderAssume Role] - endpoints
List[Provider
Endpoint] - forbidden_
account_ List[str]ids -
Dict[Provider
Ignore Tags] Configuration block with settings to ignore resource tags across all resources.
- insecure bool
Explicitly allow the provider to perform “insecure” SSL requests. If omitted,default value is
false- max_
retries float The maximum number of times an AWS API request is being executed. If the API request still fails, an error is thrown.
- profile str
The profile for API operations. If not set, the default profile created with
aws configurewill be used.- region str
The region where AWS operations will take place. Examples are us-east-1, us-west-2, etc.
- s3_
force_ boolpath_ style Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual hosted bucket addressing when possible (http://BUCKET.s3.amazonaws.com/KEY). Specific to the Amazon S3 service.
- secret_
key str The secret key for API operations. You can retrieve this from the ‘Security & Credentials’ section of the AWS console.
- str
The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- skip_
credentials_ boolvalidation Skip the credentials validation via STS API. Used for AWS API implementations that do not have STS available/implemented.
- skip_
get_ boolec2_ platforms Skip getting the supported EC2 platforms. Used by users that don’t have ec2:DescribeAccountAttributes permissions.
- skip_
metadata_ boolapi_ check - skip_
region_ boolvalidation 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).
- skip_
requesting_ boolaccount_ id Skip requesting the account ID. Used for AWS API implementations that do not have IAM/STS API and/or metadata API.
- token str
session token. A session token is only required if you are using temporary security credentials.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
Supporting Types
ProviderAssumeRole
See the input API doc for this type.
See the input API doc for this type.
See the input API doc for this type.
ProviderEndpoint
See the input API doc for this type.
See the input API doc for this type.
See the input API doc for this type.
- Accessanalyzer string
- Acm string
- Acmpca string
- Amplify string
- Apigateway string
- Applicationautoscaling string
- Applicationinsights string
- Appmesh string
- Appstream string
- Appsync string
- Athena string
- Autoscaling string
- Autoscalingplans string
- Backup string
- Batch string
- Budgets string
- Cloud9 string
- Cloudformation string
- Cloudfront string
- Cloudhsm string
- Cloudsearch string
- Cloudtrail string
- Cloudwatch string
- Cloudwatchevents string
- Cloudwatchlogs string
- Codeartifact string
- Codebuild string
- Codecommit string
- Codedeploy string
- Codepipeline string
- Cognitoidentity string
- Cognitoidp string
- Configservice string
- Cur string
- Dataexchange string
- Datapipeline string
- Datasync string
- Dax string
- Devicefarm string
- Directconnect string
- Dlm string
- Dms string
- Docdb string
- Ds string
- Dynamodb string
- Ec2 string
- Ecr string
- Ecs string
- Efs string
- Eks string
- Elasticache string
- Elasticbeanstalk string
- Elastictranscoder string
- Elb string
- Emr string
- Es string
- Firehose string
- Fms string
- Forecast string
- Fsx string
- Gamelift string
- Glacier string
- Globalaccelerator string
- Glue string
- Greengrass string
- Guardduty string
- Iam string
- Imagebuilder string
- Inspector string
- Iot string
- Iotanalytics string
- Iotevents string
- Kafka string
- Kinesis string
- Kinesis
Analytics string - Kinesisanalytics string
- Kinesisanalyticsv2 string
- Kinesisvideo string
- Kms string
- Lakeformation string
- Lambda string
- Lexmodels string
- Licensemanager string
- Lightsail string
- Macie string
- Managedblockchain string
- Marketplacecatalog string
- Mediaconnect string
- Mediaconvert string
- Medialive string
- Mediapackage string
- Mediastore string
- Mediastoredata string
- Mq string
- Neptune string
- Networkmanager string
- Opsworks string
- Organizations string
- Outposts string
- Personalize string
- Pinpoint string
- Pricing string
- Qldb string
- Quicksight string
- R53 string
- Ram string
- Rds string
- Redshift string
- Resourcegroups string
- Resourcegroupstaggingapi string
- Route53 string
- Route53domains string
- Route53resolver string
- S3 string
- S3control string
- Sagemaker string
- Sdb string
- Secretsmanager string
- Securityhub string
- Serverlessrepo string
- Servicecatalog string
- Servicediscovery string
- Servicequotas string
- Ses string
- Shield string
- Sns string
- Sqs string
- Ssm string
- Stepfunctions string
- Storagegateway string
- Sts string
- Swf string
- Synthetics string
- Transfer string
- Waf string
- Wafregional string
- Wafv2 string
- Worklink string
- Workmail string
- Workspaces string
- Xray string
- Accessanalyzer string
- Acm string
- Acmpca string
- Amplify string
- Apigateway string
- Applicationautoscaling string
- Applicationinsights string
- Appmesh string
- Appstream string
- Appsync string
- Athena string
- Autoscaling string
- Autoscalingplans string
- Backup string
- Batch string
- Budgets string
- Cloud9 string
- Cloudformation string
- Cloudfront string
- Cloudhsm string
- Cloudsearch string
- Cloudtrail string
- Cloudwatch string
- Cloudwatchevents string
- Cloudwatchlogs string
- Codeartifact string
- Codebuild string
- Codecommit string
- Codedeploy string
- Codepipeline string
- Cognitoidentity string
- Cognitoidp string
- Configservice string
- Cur string
- Dataexchange string
- Datapipeline string
- Datasync string
- Dax string
- Devicefarm string
- Directconnect string
- Dlm string
- Dms string
- Docdb string
- Ds string
- Dynamodb string
- Ec2 string
- Ecr string
- Ecs string
- Efs string
- Eks string
- Elasticache string
- Elasticbeanstalk string
- Elastictranscoder string
- Elb string
- Emr string
- Es string
- Firehose string
- Fms string
- Forecast string
- Fsx string
- Gamelift string
- Glacier string
- Globalaccelerator string
- Glue string
- Greengrass string
- Guardduty string
- Iam string
- Imagebuilder string
- Inspector string
- Iot string
- Iotanalytics string
- Iotevents string
- Kafka string
- Kinesis string
- Kinesis
Analytics string - Kinesisanalytics string
- Kinesisanalyticsv2 string
- Kinesisvideo string
- Kms string
- Lakeformation string
- Lambda string
- Lexmodels string
- Licensemanager string
- Lightsail string
- Macie string
- Managedblockchain string
- Marketplacecatalog string
- Mediaconnect string
- Mediaconvert string
- Medialive string
- Mediapackage string
- Mediastore string
- Mediastoredata string
- Mq string
- Neptune string
- Networkmanager string
- Opsworks string
- Organizations string
- Outposts string
- Personalize string
- Pinpoint string
- Pricing string
- Qldb string
- Quicksight string
- R53 string
- Ram string
- Rds string
- Redshift string
- Resourcegroups string
- Resourcegroupstaggingapi string
- Route53 string
- Route53domains string
- Route53resolver string
- S3 string
- S3control string
- Sagemaker string
- Sdb string
- Secretsmanager string
- Securityhub string
- Serverlessrepo string
- Servicecatalog string
- Servicediscovery string
- Servicequotas string
- Ses string
- Shield string
- Sns string
- Sqs string
- Ssm string
- Stepfunctions string
- Storagegateway string
- Sts string
- Swf string
- Synthetics string
- Transfer string
- Waf string
- Wafregional string
- Wafv2 string
- Worklink string
- Workmail string
- Workspaces string
- Xray string
- accessanalyzer string
- acm string
- acmpca string
- amplify string
- apigateway string
- applicationautoscaling string
- applicationinsights string
- appmesh string
- appstream string
- appsync string
- athena string
- autoscaling string
- autoscalingplans string
- backup string
- batch string
- budgets string
- cloud9 string
- cloudformation string
- cloudfront string
- cloudhsm string
- cloudsearch string
- cloudtrail string
- cloudwatch string
- cloudwatchevents string
- cloudwatchlogs string
- codeartifact string
- codebuild string
- codecommit string
- codedeploy string
- codepipeline string
- cognitoidentity string
- cognitoidp string
- configservice string
- cur string
- dataexchange string
- datapipeline string
- datasync string
- dax string
- devicefarm string
- directconnect string
- dlm string
- dms string
- docdb string
- ds string
- dynamodb string
- ec2 string
- ecr string
- ecs string
- efs string
- eks string
- elasticache string
- elasticbeanstalk string
- elastictranscoder string
- elb string
- emr string
- es string
- firehose string
- fms string
- forecast string
- fsx string
- gamelift string
- glacier string
- globalaccelerator string
- glue string
- greengrass string
- guardduty string
- iam string
- imagebuilder string
- inspector string
- iot string
- iotanalytics string
- iotevents string
- kafka string
- kinesis string
- kinesis
Analytics string - kinesisanalytics string
- kinesisanalyticsv2 string
- kinesisvideo string
- kms string
- lakeformation string
- lambda string
- lexmodels string
- licensemanager string
- lightsail string
- macie string
- managedblockchain string
- marketplacecatalog string
- mediaconnect string
- mediaconvert string
- medialive string
- mediapackage string
- mediastore string
- mediastoredata string
- mq string
- neptune string
- networkmanager string
- opsworks string
- organizations string
- outposts string
- personalize string
- pinpoint string
- pricing string
- qldb string
- quicksight string
- r53 string
- ram string
- rds string
- redshift string
- resourcegroups string
- resourcegroupstaggingapi string
- route53 string
- route53domains string
- route53resolver string
- s3 string
- s3control string
- sagemaker string
- sdb string
- secretsmanager string
- securityhub string
- serverlessrepo string
- servicecatalog string
- servicediscovery string
- servicequotas string
- ses string
- shield string
- sns string
- sqs string
- ssm string
- stepfunctions string
- storagegateway string
- sts string
- swf string
- synthetics string
- transfer string
- waf string
- wafregional string
- wafv2 string
- worklink string
- workmail string
- workspaces string
- xray string
- accessanalyzer str
- acm str
- acmpca str
- amplify str
- apigateway str
- applicationautoscaling str
- applicationinsights str
- appmesh str
- appstream str
- appsync str
- athena str
- autoscaling str
- autoscalingplans str
- backup str
- batch str
- budgets str
- cloud9 str
- cloudformation str
- cloudfront str
- cloudhsm str
- cloudsearch str
- cloudtrail str
- cloudwatch str
- cloudwatchevents str
- cloudwatchlogs str
- codeartifact str
- codebuild str
- codecommit str
- codedeploy str
- codepipeline str
- cognitoidentity str
- cognitoidp str
- configservice str
- cur str
- dataexchange str
- datapipeline str
- datasync str
- dax str
- devicefarm str
- directconnect str
- dlm str
- dms str
- docdb str
- ds str
- dynamodb str
- ec2 str
- ecr str
- ecs str
- efs str
- eks str
- elasticache str
- elasticbeanstalk str
- elastictranscoder str
- elb str
- emr str
- es str
- firehose str
- fms str
- forecast str
- fsx str
- gamelift str
- glacier str
- globalaccelerator str
- glue str
- greengrass str
- guardduty str
- iam str
- imagebuilder str
- inspector str
- iot str
- iotanalytics str
- iotevents str
- kafka str
- kinesis str
- kinesis
Analytics str - kinesisanalytics str
- kinesisanalyticsv2 str
- kinesisvideo str
- kms str
- lakeformation str
- lambda str
- lexmodels str
- licensemanager str
- lightsail str
- macie str
- managedblockchain str
- marketplacecatalog str
- mediaconnect str
- mediaconvert str
- medialive str
- mediapackage str
- mediastore str
- mediastoredata str
- mq str
- neptune str
- networkmanager str
- opsworks str
- organizations str
- outposts str
- personalize str
- pinpoint str
- pricing str
- qldb str
- quicksight str
- r53 str
- ram str
- rds str
- redshift str
- resourcegroups str
- resourcegroupstaggingapi str
- route53 str
- route53domains str
- route53resolver str
- s3 str
- s3control str
- sagemaker str
- sdb str
- secretsmanager str
- securityhub str
- serverlessrepo str
- servicecatalog str
- servicediscovery str
- servicequotas str
- ses str
- shield str
- sns str
- sqs str
- ssm str
- stepfunctions str
- storagegateway str
- sts str
- swf str
- synthetics str
- transfer str
- waf str
- wafregional str
- wafv2 str
- worklink str
- workmail str
- workspaces str
- xray str
ProviderIgnoreTags
See the input API doc for this type.
See the input API doc for this type.
See the input API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.