alks.Provider
Explore with Pulumi AI
The provider type for the alks 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 Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_key: Optional[str] = None,
account: Optional[str] = None,
assume_role: Optional[ProviderAssumeRoleArgs] = None,
default_tags: Optional[ProviderDefaultTagsArgs] = None,
ignore_tags: Optional[ProviderIgnoreTagsArgs] = None,
profile: Optional[str] = None,
role: Optional[str] = None,
secret_key: Optional[str] = None,
shared_credentials_file: Optional[str] = None,
token: Optional[str] = None,
url: Optional[str] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:alks
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Url string
- This is the base URL to ALKS service. It must be provided, but it can also be sourced from the ALKS_URL environment variable.
- Access
Key string - This is the AWS access key. It must be provided, but it can also be sourced from the ALKS_ACCESS_KEY_ID or AWS_ACCESS_KEY_ID environment variable.
- Account string
- The account which you'd like to retrieve credentials for.
- Assume
Role ProviderAssume Role - Provider
Default Tags - Configuration block with settings to default resource tags across all resources.
- Provider
Ignore Tags - Configuration block with settings to ignore resource tags across all resources.
- Profile string
- The profile for API operations. Used in place of STS tokens.
- Role string
- The role which you'd like to retrieve credentials for.
- Secret
Key string - This is the AWS secret key. It must be provided, but it can also be sourced from the ALKS_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY environment variable
- string
- The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- Token string
- This is the AWS session token. It must be provided, but it can also be sourced from the ALKS_SESSION_TOKEN or AWS_SESSION_TOKEN environment variable
- Url string
- This is the base URL to ALKS service. It must be provided, but it can also be sourced from the ALKS_URL environment variable.
- Access
Key string - This is the AWS access key. It must be provided, but it can also be sourced from the ALKS_ACCESS_KEY_ID or AWS_ACCESS_KEY_ID environment variable.
- Account string
- The account which you'd like to retrieve credentials for.
- Assume
Role ProviderAssume Role Args - Provider
Default Tags Args - Configuration block with settings to default resource tags across all resources.
- Provider
Ignore Tags Args - Configuration block with settings to ignore resource tags across all resources.
- Profile string
- The profile for API operations. Used in place of STS tokens.
- Role string
- The role which you'd like to retrieve credentials for.
- Secret
Key string - This is the AWS secret key. It must be provided, but it can also be sourced from the ALKS_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY environment variable
- string
- The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- Token string
- This is the AWS session token. It must be provided, but it can also be sourced from the ALKS_SESSION_TOKEN or AWS_SESSION_TOKEN environment variable
- url String
- This is the base URL to ALKS service. It must be provided, but it can also be sourced from the ALKS_URL environment variable.
- access
Key String - This is the AWS access key. It must be provided, but it can also be sourced from the ALKS_ACCESS_KEY_ID or AWS_ACCESS_KEY_ID environment variable.
- account String
- The account which you'd like to retrieve credentials for.
- assume
Role ProviderAssume Role - Provider
Default Tags - Configuration block with settings to default resource tags across all resources.
- Provider
Ignore Tags - Configuration block with settings to ignore resource tags across all resources.
- profile String
- The profile for API operations. Used in place of STS tokens.
- role String
- The role which you'd like to retrieve credentials for.
- secret
Key String - This is the AWS secret key. It must be provided, but it can also be sourced from the ALKS_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY environment variable
- String
- The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- token String
- This is the AWS session token. It must be provided, but it can also be sourced from the ALKS_SESSION_TOKEN or AWS_SESSION_TOKEN environment variable
- url string
- This is the base URL to ALKS service. It must be provided, but it can also be sourced from the ALKS_URL environment variable.
- access
Key string - This is the AWS access key. It must be provided, but it can also be sourced from the ALKS_ACCESS_KEY_ID or AWS_ACCESS_KEY_ID environment variable.
- account string
- The account which you'd like to retrieve credentials for.
- assume
Role ProviderAssume Role - Provider
Default Tags - Configuration block with settings to default resource tags across all resources.
- Provider
Ignore Tags - Configuration block with settings to ignore resource tags across all resources.
- profile string
- The profile for API operations. Used in place of STS tokens.
- role string
- The role which you'd like to retrieve credentials for.
- secret
Key string - This is the AWS secret key. It must be provided, but it can also be sourced from the ALKS_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY environment variable
- string
- The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- token string
- This is the AWS session token. It must be provided, but it can also be sourced from the ALKS_SESSION_TOKEN or AWS_SESSION_TOKEN environment variable
- url str
- This is the base URL to ALKS service. It must be provided, but it can also be sourced from the ALKS_URL environment variable.
- access_
key str - This is the AWS access key. It must be provided, but it can also be sourced from the ALKS_ACCESS_KEY_ID or AWS_ACCESS_KEY_ID environment variable.
- account str
- The account which you'd like to retrieve credentials for.
- assume_
role ProviderAssume Role Args - Provider
Default Tags Args - Configuration block with settings to default resource tags across all resources.
- Provider
Ignore Tags Args - Configuration block with settings to ignore resource tags across all resources.
- profile str
- The profile for API operations. Used in place of STS tokens.
- role str
- The role which you'd like to retrieve credentials for.
- secret_
key str - This is the AWS secret key. It must be provided, but it can also be sourced from the ALKS_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY environment variable
- str
- The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- token str
- This is the AWS session token. It must be provided, but it can also be sourced from the ALKS_SESSION_TOKEN or AWS_SESSION_TOKEN environment variable
- url String
- This is the base URL to ALKS service. It must be provided, but it can also be sourced from the ALKS_URL environment variable.
- access
Key String - This is the AWS access key. It must be provided, but it can also be sourced from the ALKS_ACCESS_KEY_ID or AWS_ACCESS_KEY_ID environment variable.
- account String
- The account which you'd like to retrieve credentials for.
- assume
Role Property Map - Property Map
- Configuration block with settings to default resource tags across all resources.
- Property Map
- Configuration block with settings to ignore resource tags across all resources.
- profile String
- The profile for API operations. Used in place of STS tokens.
- role String
- The role which you'd like to retrieve credentials for.
- secret
Key String - This is the AWS secret key. It must be provided, but it can also be sourced from the ALKS_SECRET_ACCESS_KEY or AWS_SECRET_ACCESS_KEY environment variable
- String
- The path to the shared credentials file. If not set this defaults to ~/.aws/credentials.
- token String
- This is the AWS session token. It must be provided, but it can also be sourced from the ALKS_SESSION_TOKEN or AWS_SESSION_TOKEN environment variable
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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ProviderAssumeRole, ProviderAssumeRoleArgs
- External
Id string - (Optional) The external ID to use when making the AssumeRole call. See AWS SDK for more details.
- Policy string
- (Optional) Additional policy restrictions to apply to the result STS session. See AWS SDK for more details.
- Role
Arn string - (Required) Role ARN to assume before calling ALKS
- Session
Name string - (Optional) Session name to use when making the AssumeRole call. See AWS SDK for more details.
- External
Id string - (Optional) The external ID to use when making the AssumeRole call. See AWS SDK for more details.
- Policy string
- (Optional) Additional policy restrictions to apply to the result STS session. See AWS SDK for more details.
- Role
Arn string - (Required) Role ARN to assume before calling ALKS
- Session
Name string - (Optional) Session name to use when making the AssumeRole call. See AWS SDK for more details.
- external
Id String - (Optional) The external ID to use when making the AssumeRole call. See AWS SDK for more details.
- policy String
- (Optional) Additional policy restrictions to apply to the result STS session. See AWS SDK for more details.
- role
Arn String - (Required) Role ARN to assume before calling ALKS
- session
Name String - (Optional) Session name to use when making the AssumeRole call. See AWS SDK for more details.
- external
Id string - (Optional) The external ID to use when making the AssumeRole call. See AWS SDK for more details.
- policy string
- (Optional) Additional policy restrictions to apply to the result STS session. See AWS SDK for more details.
- role
Arn string - (Required) Role ARN to assume before calling ALKS
- session
Name string - (Optional) Session name to use when making the AssumeRole call. See AWS SDK for more details.
- external_
id str - (Optional) The external ID to use when making the AssumeRole call. See AWS SDK for more details.
- policy str
- (Optional) Additional policy restrictions to apply to the result STS session. See AWS SDK for more details.
- role_
arn str - (Required) Role ARN to assume before calling ALKS
- session_
name str - (Optional) Session name to use when making the AssumeRole call. See AWS SDK for more details.
- external
Id String - (Optional) The external ID to use when making the AssumeRole call. See AWS SDK for more details.
- policy String
- (Optional) Additional policy restrictions to apply to the result STS session. See AWS SDK for more details.
- role
Arn String - (Required) Role ARN to assume before calling ALKS
- session
Name String - (Optional) Session name to use when making the AssumeRole call. See AWS SDK for more details.
ProviderDefaultTags, ProviderDefaultTagsArgs
- Dictionary<string, string>
- Resource tags to default across all resources
- map[string]string
- Resource tags to default across all resources
- Map<String,String>
- Resource tags to default across all resources
- {[key: string]: string}
- Resource tags to default across all resources
- Mapping[str, str]
- Resource tags to default across all resources
- Map<String>
- Resource tags to default across all resources
ProviderIgnoreTags, ProviderIgnoreTagsArgs
- Key
Prefixes List<string> - Resource tag key prefixes to ignore across all resources.
- Keys List<string>
- Resource tag keys to ignore across all resources.
- Key
Prefixes []string - Resource tag key prefixes to ignore across all resources.
- Keys []string
- Resource tag keys to ignore across all resources.
- key
Prefixes List<String> - Resource tag key prefixes to ignore across all resources.
- keys List<String>
- Resource tag keys to ignore across all resources.
- key
Prefixes string[] - Resource tag key prefixes to ignore across all resources.
- keys string[]
- Resource tag keys to ignore across all resources.
- key_
prefixes Sequence[str] - Resource tag key prefixes to ignore across all resources.
- keys Sequence[str]
- Resource tag keys to ignore across all resources.
- key
Prefixes List<String> - Resource tag key prefixes to ignore across all resources.
- keys List<String>
- Resource tag keys to ignore across all resources.
Package Details
- Repository
- alks cox-automotive/terraform-provider-alks
- License
- Notes
- This Pulumi package is based on the
alks
Terraform Provider.