Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

Provider

The provider type for the alicloud 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: str, opts: Optional[ResourceOptions] = None, access_key: Optional[str] = None, account_id: Optional[str] = None, assume_role: Optional[ProviderAssumeRoleArgs] = None, configuration_source: Optional[str] = None, ecs_role_name: Optional[str] = None, endpoints: Optional[Sequence[ProviderEndpointArgs]] = None, fc: Optional[str] = None, log_endpoint: Optional[str] = None, mns_endpoint: Optional[str] = None, ots_instance_name: Optional[str] = None, profile: Optional[str] = None, protocol: Optional[str] = None, region: Optional[str] = None, secret_key: Optional[str] = None, security_token: Optional[str] = None, shared_credentials_file: Optional[str] = None, skip_region_validation: Optional[bool] = None, source_ip: 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)
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:

AccessKey string

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

AccountId string

The account ID for some service API operations. You can retrieve this from the ‘Security Settings’ section of the Alibaba Cloud console.

AssumeRole Pulumi.AliCloud.Inputs.ProviderAssumeRoleArgs
ConfigurationSource string

Use this to mark a terraform configuration file source.

EcsRoleName string

The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the ‘Access Control’ section of the Alibaba Cloud console. It can also be sourced from the following environment variable: ALICLOUD_ECS_ROLE_NAME

Endpoints List<Pulumi.AliCloud.Inputs.ProviderEndpointArgs>
Fc string

Deprecated: Field 'fc' has been deprecated from provider version 1.28.0. New field 'fc' which in nested endpoints instead.

LogEndpoint string

Deprecated: Field 'log_endpoint' has been deprecated from provider version 1.28.0. New field 'log' which in nested endpoints instead.

MnsEndpoint string

Deprecated: Field 'mns_endpoint' has been deprecated from provider version 1.28.0. New field 'mns' which in nested endpoints instead.

OtsInstanceName string

Deprecated: Field 'ots_instance_name' has been deprecated from provider version 1.10.0. New field 'instance_name' of resource 'alicloud_ots_table' instead.

Profile string

The profile for API operations. If not set, the default profile created with aliyun configure will be used. It can also be sourced from the following environment variable: ALICLOUD_PROFILE

Protocol string
Region string

The region where Alibaba Cloud operations will take place. Examples are cn-beijing, cn-hangzhou, eu-central-1, etc. It can also be sourced from the following environment variable: ALICLOUD_REGION

SecretKey string

The secret key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

SecurityToken string

security token. A security token is only required if you are using Security Token Service.

SharedCredentialsFile string

The path to the shared credentials file. If not set this defaults to ~/.aliyun/config.json

SkipRegionValidation bool

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

SourceIp string

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

AccessKey string

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

AccountId string

The account ID for some service API operations. You can retrieve this from the ‘Security Settings’ section of the Alibaba Cloud console.

AssumeRole ProviderAssumeRole
ConfigurationSource string

Use this to mark a terraform configuration file source.

EcsRoleName string

The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the ‘Access Control’ section of the Alibaba Cloud console. It can also be sourced from the following environment variable: ALICLOUD_ECS_ROLE_NAME

Endpoints []ProviderEndpoint
Fc string

Deprecated: Field 'fc' has been deprecated from provider version 1.28.0. New field 'fc' which in nested endpoints instead.

LogEndpoint string

Deprecated: Field 'log_endpoint' has been deprecated from provider version 1.28.0. New field 'log' which in nested endpoints instead.

MnsEndpoint string

Deprecated: Field 'mns_endpoint' has been deprecated from provider version 1.28.0. New field 'mns' which in nested endpoints instead.

OtsInstanceName string

Deprecated: Field 'ots_instance_name' has been deprecated from provider version 1.10.0. New field 'instance_name' of resource 'alicloud_ots_table' instead.

Profile string

The profile for API operations. If not set, the default profile created with aliyun configure will be used. It can also be sourced from the following environment variable: ALICLOUD_PROFILE

Protocol string
Region string

The region where Alibaba Cloud operations will take place. Examples are cn-beijing, cn-hangzhou, eu-central-1, etc. It can also be sourced from the following environment variable: ALICLOUD_REGION

SecretKey string

The secret key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

SecurityToken string

security token. A security token is only required if you are using Security Token Service.

SharedCredentialsFile string

The path to the shared credentials file. If not set this defaults to ~/.aliyun/config.json

SkipRegionValidation bool

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

SourceIp string

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

accessKey string

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

accountId string

The account ID for some service API operations. You can retrieve this from the ‘Security Settings’ section of the Alibaba Cloud console.

assumeRole ProviderAssumeRole
configurationSource string

Use this to mark a terraform configuration file source.

ecsRoleName string

The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the ‘Access Control’ section of the Alibaba Cloud console. It can also be sourced from the following environment variable: ALICLOUD_ECS_ROLE_NAME

endpoints ProviderEndpoint[]
fc string

Deprecated: Field 'fc' has been deprecated from provider version 1.28.0. New field 'fc' which in nested endpoints instead.

logEndpoint string

Deprecated: Field 'log_endpoint' has been deprecated from provider version 1.28.0. New field 'log' which in nested endpoints instead.

mnsEndpoint string

Deprecated: Field 'mns_endpoint' has been deprecated from provider version 1.28.0. New field 'mns' which in nested endpoints instead.

otsInstanceName string

Deprecated: Field 'ots_instance_name' has been deprecated from provider version 1.10.0. New field 'instance_name' of resource 'alicloud_ots_table' instead.

profile string

The profile for API operations. If not set, the default profile created with aliyun configure will be used. It can also be sourced from the following environment variable: ALICLOUD_PROFILE

protocol string
region string

The region where Alibaba Cloud operations will take place. Examples are cn-beijing, cn-hangzhou, eu-central-1, etc. It can also be sourced from the following environment variable: ALICLOUD_REGION

secretKey string

The secret key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

securityToken string

security token. A security token is only required if you are using Security Token Service.

sharedCredentialsFile string

The path to the shared credentials file. If not set this defaults to ~/.aliyun/config.json

skipRegionValidation boolean

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

sourceIp string

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

access_key str

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

account_id str

The account ID for some service API operations. You can retrieve this from the ‘Security Settings’ section of the Alibaba Cloud console.

assume_role ProviderAssumeRoleArgs
configuration_source str

Use this to mark a terraform configuration file source.

ecs_role_name str

The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the ‘Access Control’ section of the Alibaba Cloud console. It can also be sourced from the following environment variable: ALICLOUD_ECS_ROLE_NAME

endpoints Sequence[ProviderEndpointArgs]
fc str

Deprecated: Field 'fc' has been deprecated from provider version 1.28.0. New field 'fc' which in nested endpoints instead.

log_endpoint str

Deprecated: Field 'log_endpoint' has been deprecated from provider version 1.28.0. New field 'log' which in nested endpoints instead.

mns_endpoint str

Deprecated: Field 'mns_endpoint' has been deprecated from provider version 1.28.0. New field 'mns' which in nested endpoints instead.

ots_instance_name str

Deprecated: Field 'ots_instance_name' has been deprecated from provider version 1.10.0. New field 'instance_name' of resource 'alicloud_ots_table' instead.

profile str

The profile for API operations. If not set, the default profile created with aliyun configure will be used. It can also be sourced from the following environment variable: ALICLOUD_PROFILE

protocol str
region str

The region where Alibaba Cloud operations will take place. Examples are cn-beijing, cn-hangzhou, eu-central-1, etc. It can also be sourced from the following environment variable: ALICLOUD_REGION

secret_key str

The secret key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

security_token str

security token. A security token is only required if you are using Security Token Service.

shared_credentials_file str

The path to the shared credentials file. If not set this defaults to ~/.aliyun/config.json

skip_region_validation bool

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

source_ip str

The access key for API operations. You can retrieve this from the ‘Security Management’ section of the Alibaba Cloud console.

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 str
The provider-assigned unique ID for this managed resource.

Supporting Types

ProviderAssumeRole

roleArn string
policy string
sessionExpiration number
sessionName string

ProviderEndpoint

Actiontrail string
Adb string
Alidns string
Alikafka string
Apigateway string
BrainIndustrial string
Bssopenapi string
Cas string
Cassandra string
Cbn string
Cdn string
Cen string
Cms string
Config string
Cr string
Cs string
Datahub string
Dcdn string
Ddosbgp string
Ddoscoo string
Dds string
DmsEnterprise string
Dns string
Drds string
Eci string
Ecs string
Eipanycast string
Elasticsearch string
Emr string
Ess string
Fc string
Fnf string
Ga string
Gpdb string
Hitsdb string
Ims string
Kms string
Kvstore string
Location string
Log string
Market string
Maxcompute string
Mns string
Mse string
Nas string
Ons string
Oos string
Oss string
Ots string
Polardb string
Privatelink string
Pvtz string
Quotas string
RKvstore string
Ram string
Rds string
Resourcemanager string
Resourcesharing string
Ros string
Slb string
Sts string
Vpc string
WafOpenapi string
Actiontrail string
Adb string
Alidns string
Alikafka string
Apigateway string
BrainIndustrial string
Bssopenapi string
Cas string
Cassandra string
Cbn string
Cdn string
Cen string
Cms string
Config string
Cr string
Cs string
Datahub string
Dcdn string
Ddosbgp string
Ddoscoo string
Dds string
DmsEnterprise string
Dns string
Drds string
Eci string
Ecs string
Eipanycast string
Elasticsearch string
Emr string
Ess string
Fc string
Fnf string
Ga string
Gpdb string
Hitsdb string
Ims string
Kms string
Kvstore string
Location string
Log string
Market string
Maxcompute string
Mns string
Mse string
Nas string
Ons string
Oos string
Oss string
Ots string
Polardb string
Privatelink string
Pvtz string
Quotas string
RKvstore string
Ram string
Rds string
Resourcemanager string
Resourcesharing string
Ros string
Slb string
Sts string
Vpc string
WafOpenapi string
actiontrail string
adb string
alidns string
alikafka string
apigateway string
brainIndustrial string
bssopenapi string
cas string
cassandra string
cbn string
cdn string
cen string
cms string
config string
cr string
cs string
datahub string
dcdn string
ddosbgp string
ddoscoo string
dds string
dmsEnterprise string
dns string
drds string
eci string
ecs string
eipanycast string
elasticsearch string
emr string
ess string
fc string
fnf string
ga string
gpdb string
hitsdb string
ims string
kms string
kvstore string
location string
log string
market string
maxcompute string
mns string
mse string
nas string
ons string
oos string
oss string
ots string
polardb string
privatelink string
pvtz string
quotas string
rKvstore string
ram string
rds string
resourcemanager string
resourcesharing string
ros string
slb string
sts string
vpc string
wafOpenapi string
actiontrail str
adb str
alidns str
alikafka str
apigateway str
brain_industrial str
bssopenapi str
cas str
cassandra str
cbn str
cdn str
cen str
cms str
config str
cr str
cs str
datahub str
dcdn str
ddosbgp str
ddoscoo str
dds str
dms_enterprise str
dns str
drds str
eci str
ecs str
eipanycast str
elasticsearch str
emr str
ess str
fc str
fnf str
ga str
gpdb str
hitsdb str
ims str
kms str
kvstore str
location str
log str
market str
maxcompute str
mns str
mse str
nas str
ons str
oos str
oss str
ots str
polardb str
privatelink str
pvtz str
quotas str
r_kvstore str
ram str
rds str
resourcemanager str
resourcesharing str
ros str
slb str
sts str
vpc str
waf_openapi str

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.