We recommend new projects start with resources from the AWS provider.
aws-native.dsql.Cluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::DSQL::Cluster
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args?: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: Optional[ClusterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
deletion_protection_enabled: Optional[bool] = None,
multi_region_properties: Optional[MultiRegionPropertiesPropertiesArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewCluster(ctx *Context, name string, args *ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs? args = null, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: aws-native:dsql:Cluster
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 ClusterArgs
- 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 ClusterArgs
- 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 ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Cluster 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 Cluster resource accepts the following input properties:
- Deletion
Protection boolEnabled - Whether deletion protection is enabled in this cluster.
- Multi
Region Pulumi.Properties Aws Native. Dsql. Inputs. Multi Region Properties Properties - The Multi-region properties associated to this cluster.
- List<Pulumi.
Aws Native. Inputs. Tag> - A map of key and value pairs this cluster is tagged with.
- Deletion
Protection boolEnabled - Whether deletion protection is enabled in this cluster.
- Multi
Region MultiProperties Region Properties Properties Args - The Multi-region properties associated to this cluster.
- Tag
Args - A map of key and value pairs this cluster is tagged with.
- deletion
Protection BooleanEnabled - Whether deletion protection is enabled in this cluster.
- multi
Region MultiProperties Region Properties Properties - The Multi-region properties associated to this cluster.
- List<Tag>
- A map of key and value pairs this cluster is tagged with.
- deletion
Protection booleanEnabled - Whether deletion protection is enabled in this cluster.
- multi
Region MultiProperties Region Properties Properties - The Multi-region properties associated to this cluster.
- Tag[]
- A map of key and value pairs this cluster is tagged with.
- deletion_
protection_ boolenabled - Whether deletion protection is enabled in this cluster.
- multi_
region_ Multiproperties Region Properties Properties Args - The Multi-region properties associated to this cluster.
- Sequence[Tag
Args] - A map of key and value pairs this cluster is tagged with.
- deletion
Protection BooleanEnabled - Whether deletion protection is enabled in this cluster.
- multi
Region Property MapProperties - The Multi-region properties associated to this cluster.
- List<Property Map>
- A map of key and value pairs this cluster is tagged with.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Creation
Time string - The time of when the cluster was created in ISO-8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- The ID of the created cluster.
- Resource
Arn string - The Amazon Resource Name (ARN) for the cluster.
- Status string
- The status of the cluster.
- Vpc
Endpoint stringService Name - The VPC endpoint service name.
- Creation
Time string - The time of when the cluster was created in ISO-8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- The ID of the created cluster.
- Resource
Arn string - The Amazon Resource Name (ARN) for the cluster.
- Status string
- The status of the cluster.
- Vpc
Endpoint stringService Name - The VPC endpoint service name.
- creation
Time String - The time of when the cluster was created in ISO-8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- The ID of the created cluster.
- resource
Arn String - The Amazon Resource Name (ARN) for the cluster.
- status String
- The status of the cluster.
- vpc
Endpoint StringService Name - The VPC endpoint service name.
- creation
Time string - The time of when the cluster was created in ISO-8601 format.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- The ID of the created cluster.
- resource
Arn string - The Amazon Resource Name (ARN) for the cluster.
- status string
- The status of the cluster.
- vpc
Endpoint stringService Name - The VPC endpoint service name.
- creation_
time str - The time of when the cluster was created in ISO-8601 format.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- The ID of the created cluster.
- resource_
arn str - The Amazon Resource Name (ARN) for the cluster.
- status str
- The status of the cluster.
- vpc_
endpoint_ strservice_ name - The VPC endpoint service name.
- creation
Time String - The time of when the cluster was created in ISO-8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- The ID of the created cluster.
- resource
Arn String - The Amazon Resource Name (ARN) for the cluster.
- status String
- The status of the cluster.
- vpc
Endpoint StringService Name - The VPC endpoint service name.
Supporting Types
MultiRegionPropertiesProperties, MultiRegionPropertiesPropertiesArgs
- Clusters List<string>
- The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.
- Witness
Region string - The witness region in a multi-region cluster.
- Clusters []string
- The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.
- Witness
Region string - The witness region in a multi-region cluster.
- clusters List<String>
- The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.
- witness
Region String - The witness region in a multi-region cluster.
- clusters string[]
- The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.
- witness
Region string - The witness region in a multi-region cluster.
- clusters Sequence[str]
- The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.
- witness_
region str - The witness region in a multi-region cluster.
- clusters List<String>
- The set of peered clusters that form the multi-Region cluster configuration. Each peered cluster represents a database instance in a different Region.
- witness
Region String - The witness region in a multi-region cluster.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.