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);
@overload
def Provider(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             access_key: Optional[str] = None,
             account_id: Optional[str] = None,
             assume_role: Optional[ProviderAssumeRoleArgs] = None,
             client_connect_timeout: Optional[int] = None,
             client_read_timeout: Optional[int] = 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,
             security_transport: Optional[str] = None,
             shared_credentials_file: Optional[str] = None,
             skip_region_validation: Optional[bool] = None,
             source_ip: Optional[str] = None)
@overload
def Provider(resource_name: str,
             args: Optional[ProviderArgs] = None,
             opts: Optional[ResourceOptions] = 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.
args ProviderArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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 Architecture and Concepts 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
ClientConnectTimeout int
The maximum timeout of the client connection server.
ClientReadTimeout int
The maximum timeout of the client read request.
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.
SecurityTransport string
The security transport for the assume role invoking.
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 source ip for the assume role invoking.
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 ProviderAssumeRoleArgs
ClientConnectTimeout int
The maximum timeout of the client connection server.
ClientReadTimeout int
The maximum timeout of the client read request.
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 []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.
SecurityTransport string
The security transport for the assume role invoking.
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 source ip for the assume role invoking.
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 ProviderAssumeRoleArgs
clientConnectTimeout number
The maximum timeout of the client connection server.
clientReadTimeout number
The maximum timeout of the client read request.
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 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.
securityTransport string
The security transport for the assume role invoking.
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 source ip for the assume role invoking.
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
client_connect_timeout int
The maximum timeout of the client connection server.
client_read_timeout int
The maximum timeout of the client read request.
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.
security_transport str
The security transport for the assume role invoking.
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 source ip for the assume role invoking.

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 int
SessionName string
RoleArn string
Policy string
SessionExpiration int
SessionName string
roleArn string
policy string
sessionExpiration number
sessionName string
role_arn str
policy str
session_expiration int
session_name str

ProviderEndpoint

Actiontrail string
Adb string
Alb string
Alidfs string
Alidns string
Alikafka string
Apigateway string
Arms string
Bastionhost string
BrainIndustrial string
Bssopenapi string
Cas string
Cassandra string
Cbn string
Cddc string
Cdn string
Cds string
Cloudphone string
Cms string
Config string
Cr string
Cs string
Datahub string
Dataworkspublic string
Dcdn string
Ddosbgp string
Ddoscoo string
Dds string
Dm string
DmsEnterprise string
Dns string
Drds string
Eci string
Ecs string
Ehpc string
Eipanycast string
Elasticsearch string
Emr string
Ens string
Ess string
Eventbridge string
Fc string
Fnf string
Ga string
Gpdb string
Gwsecd string
Hbr string
HcsSgw string
Hitsdb string
Ims string
Kms string
Kvstore string
Location string
Log string
Market string
Maxcompute string
Mns string
Mscopensubscription string
Mse string
Nas string
Ons string
Onsproxy string
Oos string
Oss string
Ots string
Polardb string
Privatelink string
Pvtz string
Quotas string
RKvstore string
Ram string
Rds string
Redisa string
Resourcemanager string
Resourcesharing string
Ros string
Sas string
Scdn string
Sddp string
Serverless string
Sgw string
Slb string
Sts string
Vpc string
WafOpenapi string
Actiontrail string
Adb string
Alb string
Alidfs string
Alidns string
Alikafka string
Apigateway string
Arms string
Bastionhost string
BrainIndustrial string
Bssopenapi string
Cas string
Cassandra string
Cbn string
Cddc string
Cdn string
Cds string
Cloudphone string
Cms string
Config string
Cr string
Cs string
Datahub string
Dataworkspublic string
Dcdn string
Ddosbgp string
Ddoscoo string
Dds string
Dm string
DmsEnterprise string
Dns string
Drds string
Eci string
Ecs string
Ehpc string
Eipanycast string
Elasticsearch string
Emr string
Ens string
Ess string
Eventbridge string
Fc string
Fnf string
Ga string
Gpdb string
Gwsecd string
Hbr string
HcsSgw string
Hitsdb string
Ims string
Kms string
Kvstore string
Location string
Log string
Market string
Maxcompute string
Mns string
Mscopensubscription string
Mse string
Nas string
Ons string
Onsproxy string
Oos string
Oss string
Ots string
Polardb string
Privatelink string
Pvtz string
Quotas string
RKvstore string
Ram string
Rds string
Redisa string
Resourcemanager string
Resourcesharing string
Ros string
Sas string
Scdn string
Sddp string
Serverless string
Sgw string
Slb string
Sts string
Vpc string
WafOpenapi string
actiontrail string
adb string
alb string
alidfs string
alidns string
alikafka string
apigateway string
arms string
bastionhost string
brainIndustrial string
bssopenapi string
cas string
cassandra string
cbn string
cddc string
cdn string
cds string
cloudphone string
cms string
config string
cr string
cs string
datahub string
dataworkspublic string
dcdn string
ddosbgp string
ddoscoo string
dds string
dm string
dmsEnterprise string
dns string
drds string
eci string
ecs string
ehpc string
eipanycast string
elasticsearch string
emr string
ens string
ess string
eventbridge string
fc string
fnf string
ga string
gpdb string
gwsecd string
hbr string
hcsSgw string
hitsdb string
ims string
kms string
kvstore string
location string
log string
market string
maxcompute string
mns string
mscopensubscription string
mse string
nas string
ons string
onsproxy string
oos string
oss string
ots string
polardb string
privatelink string
pvtz string
quotas string
rKvstore string
ram string
rds string
redisa string
resourcemanager string
resourcesharing string
ros string
sas string
scdn string
sddp string
serverless string
sgw string
slb string
sts string
vpc string
wafOpenapi string
actiontrail str
adb str
alb str
alidfs str
alidns str
alikafka str
apigateway str
arms str
bastionhost str
brain_industrial str
bssopenapi str
cas str
cassandra str
cbn str
cddc str
cdn str
cds str
cloudphone str
cms str
config str
cr str
cs str
datahub str
dataworkspublic str
dcdn str
ddosbgp str
ddoscoo str
dds str
dm str
dms_enterprise str
dns str
drds str
eci str
ecs str
ehpc str
eipanycast str
elasticsearch str
emr str
ens str
ess str
eventbridge str
fc str
fnf str
ga str
gpdb str
gwsecd str
hbr str
hcs_sgw str
hitsdb str
ims str
kms str
kvstore str
location str
log str
market str
maxcompute str
mns str
mscopensubscription str
mse str
nas str
ons str
onsproxy str
oos str
oss str
ots str
polardb str
privatelink str
pvtz str
quotas str
r_kvstore str
ram str
rds str
redisa str
resourcemanager str
resourcesharing str
ros str
sas str
scdn str
sddp str
serverless str
sgw 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.