Documentation
¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterEncryptionDetail
- type ClusterEncryptionDetailArgs
- type ClusterEncryptionDetailArray
- func (ClusterEncryptionDetailArray) ElementType() reflect.Type
- func (i ClusterEncryptionDetailArray) ToClusterEncryptionDetailArrayOutput() ClusterEncryptionDetailArrayOutput
- func (i ClusterEncryptionDetailArray) ToClusterEncryptionDetailArrayOutputWithContext(ctx context.Context) ClusterEncryptionDetailArrayOutput
- type ClusterEncryptionDetailArrayInput
- type ClusterEncryptionDetailArrayOutput
- func (ClusterEncryptionDetailArrayOutput) ElementType() reflect.Type
- func (o ClusterEncryptionDetailArrayOutput) Index(i pulumi.IntInput) ClusterEncryptionDetailOutput
- func (o ClusterEncryptionDetailArrayOutput) ToClusterEncryptionDetailArrayOutput() ClusterEncryptionDetailArrayOutput
- func (o ClusterEncryptionDetailArrayOutput) ToClusterEncryptionDetailArrayOutputWithContext(ctx context.Context) ClusterEncryptionDetailArrayOutput
- type ClusterEncryptionDetailInput
- type ClusterEncryptionDetailOutput
- func (ClusterEncryptionDetailOutput) ElementType() reflect.Type
- func (o ClusterEncryptionDetailOutput) EncryptionStatus() pulumi.StringOutput
- func (o ClusterEncryptionDetailOutput) EncryptionType() pulumi.StringOutput
- func (o ClusterEncryptionDetailOutput) ToClusterEncryptionDetailOutput() ClusterEncryptionDetailOutput
- func (o ClusterEncryptionDetailOutput) ToClusterEncryptionDetailOutputWithContext(ctx context.Context) ClusterEncryptionDetailOutput
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterMultiRegionProperties
- type ClusterMultiRegionPropertiesArgs
- func (ClusterMultiRegionPropertiesArgs) ElementType() reflect.Type
- func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesOutput() ClusterMultiRegionPropertiesOutput
- func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesOutput
- func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesPtrOutput() ClusterMultiRegionPropertiesPtrOutput
- func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesPtrOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesPtrOutput
- type ClusterMultiRegionPropertiesInput
- type ClusterMultiRegionPropertiesOutput
- func (o ClusterMultiRegionPropertiesOutput) Clusters() pulumi.StringArrayOutput
- func (ClusterMultiRegionPropertiesOutput) ElementType() reflect.Type
- func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesOutput() ClusterMultiRegionPropertiesOutput
- func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesOutput
- func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesPtrOutput() ClusterMultiRegionPropertiesPtrOutput
- func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesPtrOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesPtrOutput
- func (o ClusterMultiRegionPropertiesOutput) WitnessRegion() pulumi.StringPtrOutput
- type ClusterMultiRegionPropertiesPtrInput
- type ClusterMultiRegionPropertiesPtrOutput
- func (o ClusterMultiRegionPropertiesPtrOutput) Clusters() pulumi.StringArrayOutput
- func (o ClusterMultiRegionPropertiesPtrOutput) Elem() ClusterMultiRegionPropertiesOutput
- func (ClusterMultiRegionPropertiesPtrOutput) ElementType() reflect.Type
- func (o ClusterMultiRegionPropertiesPtrOutput) ToClusterMultiRegionPropertiesPtrOutput() ClusterMultiRegionPropertiesPtrOutput
- func (o ClusterMultiRegionPropertiesPtrOutput) ToClusterMultiRegionPropertiesPtrOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesPtrOutput
- func (o ClusterMultiRegionPropertiesPtrOutput) WitnessRegion() pulumi.StringPtrOutput
- type ClusterOutput
- func (o ClusterOutput) Arn() pulumi.StringOutput
- func (o ClusterOutput) DeletionProtectionEnabled() pulumi.BoolPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) EncryptionDetails() ClusterEncryptionDetailArrayOutput
- func (o ClusterOutput) Identifier() pulumi.StringOutput
- func (o ClusterOutput) KmsEncryptionKey() pulumi.StringOutput
- func (o ClusterOutput) MultiRegionProperties() ClusterMultiRegionPropertiesPtrOutput
- func (o ClusterOutput) Region() pulumi.StringOutput
- func (o ClusterOutput) Tags() pulumi.StringMapOutput
- func (o ClusterOutput) TagsAll() pulumi.StringMapOutput
- func (o ClusterOutput) Timeouts() ClusterTimeoutsPtrOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) VpcEndpointServiceName() pulumi.StringOutput
- type ClusterPeering
- type ClusterPeeringArgs
- type ClusterPeeringArray
- type ClusterPeeringArrayInput
- type ClusterPeeringArrayOutput
- func (ClusterPeeringArrayOutput) ElementType() reflect.Type
- func (o ClusterPeeringArrayOutput) Index(i pulumi.IntInput) ClusterPeeringOutput
- func (o ClusterPeeringArrayOutput) ToClusterPeeringArrayOutput() ClusterPeeringArrayOutput
- func (o ClusterPeeringArrayOutput) ToClusterPeeringArrayOutputWithContext(ctx context.Context) ClusterPeeringArrayOutput
- type ClusterPeeringInput
- type ClusterPeeringMap
- type ClusterPeeringMapInput
- type ClusterPeeringMapOutput
- func (ClusterPeeringMapOutput) ElementType() reflect.Type
- func (o ClusterPeeringMapOutput) MapIndex(k pulumi.StringInput) ClusterPeeringOutput
- func (o ClusterPeeringMapOutput) ToClusterPeeringMapOutput() ClusterPeeringMapOutput
- func (o ClusterPeeringMapOutput) ToClusterPeeringMapOutputWithContext(ctx context.Context) ClusterPeeringMapOutput
- type ClusterPeeringOutput
- func (o ClusterPeeringOutput) Clusters() pulumi.StringArrayOutput
- func (ClusterPeeringOutput) ElementType() reflect.Type
- func (o ClusterPeeringOutput) Identifier() pulumi.StringOutput
- func (o ClusterPeeringOutput) Region() pulumi.StringOutput
- func (o ClusterPeeringOutput) Timeouts() ClusterPeeringTimeoutsPtrOutput
- func (o ClusterPeeringOutput) ToClusterPeeringOutput() ClusterPeeringOutput
- func (o ClusterPeeringOutput) ToClusterPeeringOutputWithContext(ctx context.Context) ClusterPeeringOutput
- func (o ClusterPeeringOutput) WitnessRegion() pulumi.StringOutput
- type ClusterPeeringState
- type ClusterPeeringTimeouts
- type ClusterPeeringTimeoutsArgs
- func (ClusterPeeringTimeoutsArgs) ElementType() reflect.Type
- func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsOutput() ClusterPeeringTimeoutsOutput
- func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsOutput
- func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsPtrOutput() ClusterPeeringTimeoutsPtrOutput
- func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsPtrOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsPtrOutput
- type ClusterPeeringTimeoutsInput
- type ClusterPeeringTimeoutsOutput
- func (o ClusterPeeringTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (ClusterPeeringTimeoutsOutput) ElementType() reflect.Type
- func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsOutput() ClusterPeeringTimeoutsOutput
- func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsOutput
- func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsPtrOutput() ClusterPeeringTimeoutsPtrOutput
- func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsPtrOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsPtrOutput
- type ClusterPeeringTimeoutsPtrInput
- type ClusterPeeringTimeoutsPtrOutput
- func (o ClusterPeeringTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o ClusterPeeringTimeoutsPtrOutput) Elem() ClusterPeeringTimeoutsOutput
- func (ClusterPeeringTimeoutsPtrOutput) ElementType() reflect.Type
- func (o ClusterPeeringTimeoutsPtrOutput) ToClusterPeeringTimeoutsPtrOutput() ClusterPeeringTimeoutsPtrOutput
- func (o ClusterPeeringTimeoutsPtrOutput) ToClusterPeeringTimeoutsPtrOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsPtrOutput
- type ClusterState
- type ClusterTimeouts
- type ClusterTimeoutsArgs
- func (ClusterTimeoutsArgs) ElementType() reflect.Type
- func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutput() ClusterTimeoutsOutput
- func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput
- func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput
- func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput
- type ClusterTimeoutsInput
- type ClusterTimeoutsOutput
- func (o ClusterTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (o ClusterTimeoutsOutput) Delete() pulumi.StringPtrOutput
- func (ClusterTimeoutsOutput) ElementType() reflect.Type
- func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutput() ClusterTimeoutsOutput
- func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput
- func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput
- func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput
- func (o ClusterTimeoutsOutput) Update() pulumi.StringPtrOutput
- type ClusterTimeoutsPtrInput
- type ClusterTimeoutsPtrOutput
- func (o ClusterTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o ClusterTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
- func (o ClusterTimeoutsPtrOutput) Elem() ClusterTimeoutsOutput
- func (ClusterTimeoutsPtrOutput) ElementType() reflect.Type
- func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput
- func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput
- func (o ClusterTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
pulumi.CustomResourceState
// ARN of the Cluster.
Arn pulumi.StringOutput `pulumi:"arn"`
// Whether deletion protection is enabled in this cluster.
DeletionProtectionEnabled pulumi.BoolPtrOutput `pulumi:"deletionProtectionEnabled"`
// Encryption configuration details for the DSQL Cluster.
EncryptionDetails ClusterEncryptionDetailArrayOutput `pulumi:"encryptionDetails"`
// Cluster Identifier.
Identifier pulumi.StringOutput `pulumi:"identifier"`
// The ARN of the AWS KMS key that encrypts data in the DSQL Cluster, or `"AWS_OWNED_KMS_KEY"`.
KmsEncryptionKey pulumi.StringOutput `pulumi:"kmsEncryptionKey"`
// Multi-region properties of the DSQL Cluster.
MultiRegionProperties ClusterMultiRegionPropertiesPtrOutput `pulumi:"multiRegionProperties"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
// Set of tags to be associated with the AWS DSQL Cluster resource.
Tags pulumi.StringMapOutput `pulumi:"tags"`
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
Timeouts ClusterTimeoutsPtrOutput `pulumi:"timeouts"`
// The DSQL Cluster's VPC endpoint service name.
VpcEndpointServiceName pulumi.StringOutput `pulumi:"vpcEndpointServiceName"`
}
Resource for managing an Amazon Aurora DSQL Cluster.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/dsql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dsql.NewCluster(ctx, "example", &dsql.ClusterArgs{
DeletionProtectionEnabled: pulumi.Bool(true),
Tags: pulumi.StringMap{
"Name": pulumi.String("TestCluster"),
},
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import DSQL Cluster using the `identifier`. For example:
```sh $ pulumi import aws:dsql/cluster:Cluster example abcde1f234ghijklmnop5qr6st ```
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterArgs ¶
type ClusterArgs struct {
// Whether deletion protection is enabled in this cluster.
DeletionProtectionEnabled pulumi.BoolPtrInput
// The ARN of the AWS KMS key that encrypts data in the DSQL Cluster, or `"AWS_OWNED_KMS_KEY"`.
KmsEncryptionKey pulumi.StringPtrInput
// Multi-region properties of the DSQL Cluster.
MultiRegionProperties ClusterMultiRegionPropertiesPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Set of tags to be associated with the AWS DSQL Cluster resource.
Tags pulumi.StringMapInput
Timeouts ClusterTimeoutsPtrInput
}
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
type ClusterArrayInput interface {
pulumi.Input
ToClusterArrayOutput() ClusterArrayOutput
ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterEncryptionDetail ¶
type ClusterEncryptionDetailArgs ¶
type ClusterEncryptionDetailArgs struct {
// The status of encryption for the DSQL Cluster.
EncryptionStatus pulumi.StringInput `pulumi:"encryptionStatus"`
// The type of encryption that protects the data on the DSQL Cluster.
EncryptionType pulumi.StringInput `pulumi:"encryptionType"`
}
func (ClusterEncryptionDetailArgs) ElementType ¶
func (ClusterEncryptionDetailArgs) ElementType() reflect.Type
func (ClusterEncryptionDetailArgs) ToClusterEncryptionDetailOutput ¶
func (i ClusterEncryptionDetailArgs) ToClusterEncryptionDetailOutput() ClusterEncryptionDetailOutput
func (ClusterEncryptionDetailArgs) ToClusterEncryptionDetailOutputWithContext ¶
func (i ClusterEncryptionDetailArgs) ToClusterEncryptionDetailOutputWithContext(ctx context.Context) ClusterEncryptionDetailOutput
type ClusterEncryptionDetailArray ¶
type ClusterEncryptionDetailArray []ClusterEncryptionDetailInput
func (ClusterEncryptionDetailArray) ElementType ¶
func (ClusterEncryptionDetailArray) ElementType() reflect.Type
func (ClusterEncryptionDetailArray) ToClusterEncryptionDetailArrayOutput ¶
func (i ClusterEncryptionDetailArray) ToClusterEncryptionDetailArrayOutput() ClusterEncryptionDetailArrayOutput
func (ClusterEncryptionDetailArray) ToClusterEncryptionDetailArrayOutputWithContext ¶
func (i ClusterEncryptionDetailArray) ToClusterEncryptionDetailArrayOutputWithContext(ctx context.Context) ClusterEncryptionDetailArrayOutput
type ClusterEncryptionDetailArrayInput ¶
type ClusterEncryptionDetailArrayInput interface {
pulumi.Input
ToClusterEncryptionDetailArrayOutput() ClusterEncryptionDetailArrayOutput
ToClusterEncryptionDetailArrayOutputWithContext(context.Context) ClusterEncryptionDetailArrayOutput
}
ClusterEncryptionDetailArrayInput is an input type that accepts ClusterEncryptionDetailArray and ClusterEncryptionDetailArrayOutput values. You can construct a concrete instance of `ClusterEncryptionDetailArrayInput` via:
ClusterEncryptionDetailArray{ ClusterEncryptionDetailArgs{...} }
type ClusterEncryptionDetailArrayOutput ¶
type ClusterEncryptionDetailArrayOutput struct{ *pulumi.OutputState }
func (ClusterEncryptionDetailArrayOutput) ElementType ¶
func (ClusterEncryptionDetailArrayOutput) ElementType() reflect.Type
func (ClusterEncryptionDetailArrayOutput) Index ¶
func (o ClusterEncryptionDetailArrayOutput) Index(i pulumi.IntInput) ClusterEncryptionDetailOutput
func (ClusterEncryptionDetailArrayOutput) ToClusterEncryptionDetailArrayOutput ¶
func (o ClusterEncryptionDetailArrayOutput) ToClusterEncryptionDetailArrayOutput() ClusterEncryptionDetailArrayOutput
func (ClusterEncryptionDetailArrayOutput) ToClusterEncryptionDetailArrayOutputWithContext ¶
func (o ClusterEncryptionDetailArrayOutput) ToClusterEncryptionDetailArrayOutputWithContext(ctx context.Context) ClusterEncryptionDetailArrayOutput
type ClusterEncryptionDetailInput ¶
type ClusterEncryptionDetailInput interface {
pulumi.Input
ToClusterEncryptionDetailOutput() ClusterEncryptionDetailOutput
ToClusterEncryptionDetailOutputWithContext(context.Context) ClusterEncryptionDetailOutput
}
ClusterEncryptionDetailInput is an input type that accepts ClusterEncryptionDetailArgs and ClusterEncryptionDetailOutput values. You can construct a concrete instance of `ClusterEncryptionDetailInput` via:
ClusterEncryptionDetailArgs{...}
type ClusterEncryptionDetailOutput ¶
type ClusterEncryptionDetailOutput struct{ *pulumi.OutputState }
func (ClusterEncryptionDetailOutput) ElementType ¶
func (ClusterEncryptionDetailOutput) ElementType() reflect.Type
func (ClusterEncryptionDetailOutput) EncryptionStatus ¶
func (o ClusterEncryptionDetailOutput) EncryptionStatus() pulumi.StringOutput
The status of encryption for the DSQL Cluster.
func (ClusterEncryptionDetailOutput) EncryptionType ¶
func (o ClusterEncryptionDetailOutput) EncryptionType() pulumi.StringOutput
The type of encryption that protects the data on the DSQL Cluster.
func (ClusterEncryptionDetailOutput) ToClusterEncryptionDetailOutput ¶
func (o ClusterEncryptionDetailOutput) ToClusterEncryptionDetailOutput() ClusterEncryptionDetailOutput
func (ClusterEncryptionDetailOutput) ToClusterEncryptionDetailOutputWithContext ¶
func (o ClusterEncryptionDetailOutput) ToClusterEncryptionDetailOutputWithContext(ctx context.Context) ClusterEncryptionDetailOutput
type ClusterInput ¶
type ClusterInput interface {
pulumi.Input
ToClusterOutput() ClusterOutput
ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
type ClusterMapInput interface {
pulumi.Input
ToClusterMapOutput() ClusterMapOutput
ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMultiRegionProperties ¶
type ClusterMultiRegionProperties struct {
// List of DSQL Cluster ARNs peered to this cluster.
Clusters []string `pulumi:"clusters"`
// Witness region for the multi-region clusters. Setting this makes this cluster a multi-region cluster. Changing it recreates the resource.
WitnessRegion *string `pulumi:"witnessRegion"`
}
type ClusterMultiRegionPropertiesArgs ¶
type ClusterMultiRegionPropertiesArgs struct {
// List of DSQL Cluster ARNs peered to this cluster.
Clusters pulumi.StringArrayInput `pulumi:"clusters"`
// Witness region for the multi-region clusters. Setting this makes this cluster a multi-region cluster. Changing it recreates the resource.
WitnessRegion pulumi.StringPtrInput `pulumi:"witnessRegion"`
}
func (ClusterMultiRegionPropertiesArgs) ElementType ¶
func (ClusterMultiRegionPropertiesArgs) ElementType() reflect.Type
func (ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesOutput ¶
func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesOutput() ClusterMultiRegionPropertiesOutput
func (ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesOutputWithContext ¶
func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesOutput
func (ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesPtrOutput ¶
func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesPtrOutput() ClusterMultiRegionPropertiesPtrOutput
func (ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesPtrOutputWithContext ¶
func (i ClusterMultiRegionPropertiesArgs) ToClusterMultiRegionPropertiesPtrOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesPtrOutput
type ClusterMultiRegionPropertiesInput ¶
type ClusterMultiRegionPropertiesInput interface {
pulumi.Input
ToClusterMultiRegionPropertiesOutput() ClusterMultiRegionPropertiesOutput
ToClusterMultiRegionPropertiesOutputWithContext(context.Context) ClusterMultiRegionPropertiesOutput
}
ClusterMultiRegionPropertiesInput is an input type that accepts ClusterMultiRegionPropertiesArgs and ClusterMultiRegionPropertiesOutput values. You can construct a concrete instance of `ClusterMultiRegionPropertiesInput` via:
ClusterMultiRegionPropertiesArgs{...}
type ClusterMultiRegionPropertiesOutput ¶
type ClusterMultiRegionPropertiesOutput struct{ *pulumi.OutputState }
func (ClusterMultiRegionPropertiesOutput) Clusters ¶
func (o ClusterMultiRegionPropertiesOutput) Clusters() pulumi.StringArrayOutput
List of DSQL Cluster ARNs peered to this cluster.
func (ClusterMultiRegionPropertiesOutput) ElementType ¶
func (ClusterMultiRegionPropertiesOutput) ElementType() reflect.Type
func (ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesOutput ¶
func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesOutput() ClusterMultiRegionPropertiesOutput
func (ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesOutputWithContext ¶
func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesOutput
func (ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesPtrOutput ¶
func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesPtrOutput() ClusterMultiRegionPropertiesPtrOutput
func (ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesPtrOutputWithContext ¶
func (o ClusterMultiRegionPropertiesOutput) ToClusterMultiRegionPropertiesPtrOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesPtrOutput
func (ClusterMultiRegionPropertiesOutput) WitnessRegion ¶
func (o ClusterMultiRegionPropertiesOutput) WitnessRegion() pulumi.StringPtrOutput
Witness region for the multi-region clusters. Setting this makes this cluster a multi-region cluster. Changing it recreates the resource.
type ClusterMultiRegionPropertiesPtrInput ¶
type ClusterMultiRegionPropertiesPtrInput interface {
pulumi.Input
ToClusterMultiRegionPropertiesPtrOutput() ClusterMultiRegionPropertiesPtrOutput
ToClusterMultiRegionPropertiesPtrOutputWithContext(context.Context) ClusterMultiRegionPropertiesPtrOutput
}
ClusterMultiRegionPropertiesPtrInput is an input type that accepts ClusterMultiRegionPropertiesArgs, ClusterMultiRegionPropertiesPtr and ClusterMultiRegionPropertiesPtrOutput values. You can construct a concrete instance of `ClusterMultiRegionPropertiesPtrInput` via:
ClusterMultiRegionPropertiesArgs{...}
or:
nil
func ClusterMultiRegionPropertiesPtr ¶
func ClusterMultiRegionPropertiesPtr(v *ClusterMultiRegionPropertiesArgs) ClusterMultiRegionPropertiesPtrInput
type ClusterMultiRegionPropertiesPtrOutput ¶
type ClusterMultiRegionPropertiesPtrOutput struct{ *pulumi.OutputState }
func (ClusterMultiRegionPropertiesPtrOutput) Clusters ¶
func (o ClusterMultiRegionPropertiesPtrOutput) Clusters() pulumi.StringArrayOutput
List of DSQL Cluster ARNs peered to this cluster.
func (ClusterMultiRegionPropertiesPtrOutput) ElementType ¶
func (ClusterMultiRegionPropertiesPtrOutput) ElementType() reflect.Type
func (ClusterMultiRegionPropertiesPtrOutput) ToClusterMultiRegionPropertiesPtrOutput ¶
func (o ClusterMultiRegionPropertiesPtrOutput) ToClusterMultiRegionPropertiesPtrOutput() ClusterMultiRegionPropertiesPtrOutput
func (ClusterMultiRegionPropertiesPtrOutput) ToClusterMultiRegionPropertiesPtrOutputWithContext ¶
func (o ClusterMultiRegionPropertiesPtrOutput) ToClusterMultiRegionPropertiesPtrOutputWithContext(ctx context.Context) ClusterMultiRegionPropertiesPtrOutput
func (ClusterMultiRegionPropertiesPtrOutput) WitnessRegion ¶
func (o ClusterMultiRegionPropertiesPtrOutput) WitnessRegion() pulumi.StringPtrOutput
Witness region for the multi-region clusters. Setting this makes this cluster a multi-region cluster. Changing it recreates the resource.
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) DeletionProtectionEnabled ¶
func (o ClusterOutput) DeletionProtectionEnabled() pulumi.BoolPtrOutput
Whether deletion protection is enabled in this cluster.
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) EncryptionDetails ¶
func (o ClusterOutput) EncryptionDetails() ClusterEncryptionDetailArrayOutput
Encryption configuration details for the DSQL Cluster.
func (ClusterOutput) Identifier ¶
func (o ClusterOutput) Identifier() pulumi.StringOutput
Cluster Identifier.
func (ClusterOutput) KmsEncryptionKey ¶
func (o ClusterOutput) KmsEncryptionKey() pulumi.StringOutput
The ARN of the AWS KMS key that encrypts data in the DSQL Cluster, or `"AWS_OWNED_KMS_KEY"`.
func (ClusterOutput) MultiRegionProperties ¶
func (o ClusterOutput) MultiRegionProperties() ClusterMultiRegionPropertiesPtrOutput
Multi-region properties of the DSQL Cluster.
func (ClusterOutput) Region ¶
func (o ClusterOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (ClusterOutput) Tags ¶
func (o ClusterOutput) Tags() pulumi.StringMapOutput
Set of tags to be associated with the AWS DSQL Cluster resource.
func (ClusterOutput) TagsAll ¶
func (o ClusterOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ClusterOutput) Timeouts ¶
func (o ClusterOutput) Timeouts() ClusterTimeoutsPtrOutput
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (ClusterOutput) VpcEndpointServiceName ¶
func (o ClusterOutput) VpcEndpointServiceName() pulumi.StringOutput
The DSQL Cluster's VPC endpoint service name.
type ClusterPeering ¶
type ClusterPeering struct {
pulumi.CustomResourceState
// List of DSQL Cluster ARNs to be peered to this cluster.
Clusters pulumi.StringArrayOutput `pulumi:"clusters"`
// DSQL Cluster Identifier.
Identifier pulumi.StringOutput `pulumi:"identifier"`
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringOutput `pulumi:"region"`
Timeouts ClusterPeeringTimeoutsPtrOutput `pulumi:"timeouts"`
// Witness region for a multi-region cluster.
WitnessRegion pulumi.StringOutput `pulumi:"witnessRegion"`
}
Resource for managing an Amazon Aurora DSQL Cluster Peering.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/dsql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example1, err := dsql.NewCluster(ctx, "example_1", &dsql.ClusterArgs{
MultiRegionProperties: &dsql.ClusterMultiRegionPropertiesArgs{
WitnessRegion: pulumi.String("us-west-2"),
},
})
if err != nil {
return err
}
example2, err := dsql.NewCluster(ctx, "example_2", &dsql.ClusterArgs{
MultiRegionProperties: &dsql.ClusterMultiRegionPropertiesArgs{
WitnessRegion: pulumi.String("us-west-2"),
},
})
if err != nil {
return err
}
_, err = dsql.NewClusterPeering(ctx, "example_1", &dsql.ClusterPeeringArgs{
Identifier: example1.Identifier,
Clusters: pulumi.StringArray{
example2.Arn,
},
WitnessRegion: pulumi.String(example1.MultiRegionProperties.ApplyT(func(multiRegionProperties dsql.ClusterMultiRegionProperties) (*string, error) {
return &multiRegionProperties.WitnessRegion, nil
}).(pulumi.StringPtrOutput)),
})
if err != nil {
return err
}
_, err = dsql.NewClusterPeering(ctx, "example_2", &dsql.ClusterPeeringArgs{
Identifier: example2.Identifier,
Clusters: pulumi.StringArray{
example1.Arn,
},
WitnessRegion: pulumi.String(example2.MultiRegionProperties.ApplyT(func(multiRegionProperties dsql.ClusterMultiRegionProperties) (*string, error) {
return &multiRegionProperties.WitnessRegion, nil
}).(pulumi.StringPtrOutput)),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
Using `pulumi import`, import DSQL Cluster Peering using the `identifier`. For example:
```sh $ pulumi import aws:dsql/clusterPeering:ClusterPeering example cluster-id-12345678 ```
func GetClusterPeering ¶
func GetClusterPeering(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterPeeringState, opts ...pulumi.ResourceOption) (*ClusterPeering, error)
GetClusterPeering gets an existing ClusterPeering resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClusterPeering ¶
func NewClusterPeering(ctx *pulumi.Context, name string, args *ClusterPeeringArgs, opts ...pulumi.ResourceOption) (*ClusterPeering, error)
NewClusterPeering registers a new resource with the given unique name, arguments, and options.
func (*ClusterPeering) ElementType ¶
func (*ClusterPeering) ElementType() reflect.Type
func (*ClusterPeering) ToClusterPeeringOutput ¶
func (i *ClusterPeering) ToClusterPeeringOutput() ClusterPeeringOutput
func (*ClusterPeering) ToClusterPeeringOutputWithContext ¶
func (i *ClusterPeering) ToClusterPeeringOutputWithContext(ctx context.Context) ClusterPeeringOutput
type ClusterPeeringArgs ¶
type ClusterPeeringArgs struct {
// List of DSQL Cluster ARNs to be peered to this cluster.
Clusters pulumi.StringArrayInput
// DSQL Cluster Identifier.
Identifier pulumi.StringInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
Timeouts ClusterPeeringTimeoutsPtrInput
// Witness region for a multi-region cluster.
WitnessRegion pulumi.StringInput
}
The set of arguments for constructing a ClusterPeering resource.
func (ClusterPeeringArgs) ElementType ¶
func (ClusterPeeringArgs) ElementType() reflect.Type
type ClusterPeeringArray ¶
type ClusterPeeringArray []ClusterPeeringInput
func (ClusterPeeringArray) ElementType ¶
func (ClusterPeeringArray) ElementType() reflect.Type
func (ClusterPeeringArray) ToClusterPeeringArrayOutput ¶
func (i ClusterPeeringArray) ToClusterPeeringArrayOutput() ClusterPeeringArrayOutput
func (ClusterPeeringArray) ToClusterPeeringArrayOutputWithContext ¶
func (i ClusterPeeringArray) ToClusterPeeringArrayOutputWithContext(ctx context.Context) ClusterPeeringArrayOutput
type ClusterPeeringArrayInput ¶
type ClusterPeeringArrayInput interface {
pulumi.Input
ToClusterPeeringArrayOutput() ClusterPeeringArrayOutput
ToClusterPeeringArrayOutputWithContext(context.Context) ClusterPeeringArrayOutput
}
ClusterPeeringArrayInput is an input type that accepts ClusterPeeringArray and ClusterPeeringArrayOutput values. You can construct a concrete instance of `ClusterPeeringArrayInput` via:
ClusterPeeringArray{ ClusterPeeringArgs{...} }
type ClusterPeeringArrayOutput ¶
type ClusterPeeringArrayOutput struct{ *pulumi.OutputState }
func (ClusterPeeringArrayOutput) ElementType ¶
func (ClusterPeeringArrayOutput) ElementType() reflect.Type
func (ClusterPeeringArrayOutput) Index ¶
func (o ClusterPeeringArrayOutput) Index(i pulumi.IntInput) ClusterPeeringOutput
func (ClusterPeeringArrayOutput) ToClusterPeeringArrayOutput ¶
func (o ClusterPeeringArrayOutput) ToClusterPeeringArrayOutput() ClusterPeeringArrayOutput
func (ClusterPeeringArrayOutput) ToClusterPeeringArrayOutputWithContext ¶
func (o ClusterPeeringArrayOutput) ToClusterPeeringArrayOutputWithContext(ctx context.Context) ClusterPeeringArrayOutput
type ClusterPeeringInput ¶
type ClusterPeeringInput interface {
pulumi.Input
ToClusterPeeringOutput() ClusterPeeringOutput
ToClusterPeeringOutputWithContext(ctx context.Context) ClusterPeeringOutput
}
type ClusterPeeringMap ¶
type ClusterPeeringMap map[string]ClusterPeeringInput
func (ClusterPeeringMap) ElementType ¶
func (ClusterPeeringMap) ElementType() reflect.Type
func (ClusterPeeringMap) ToClusterPeeringMapOutput ¶
func (i ClusterPeeringMap) ToClusterPeeringMapOutput() ClusterPeeringMapOutput
func (ClusterPeeringMap) ToClusterPeeringMapOutputWithContext ¶
func (i ClusterPeeringMap) ToClusterPeeringMapOutputWithContext(ctx context.Context) ClusterPeeringMapOutput
type ClusterPeeringMapInput ¶
type ClusterPeeringMapInput interface {
pulumi.Input
ToClusterPeeringMapOutput() ClusterPeeringMapOutput
ToClusterPeeringMapOutputWithContext(context.Context) ClusterPeeringMapOutput
}
ClusterPeeringMapInput is an input type that accepts ClusterPeeringMap and ClusterPeeringMapOutput values. You can construct a concrete instance of `ClusterPeeringMapInput` via:
ClusterPeeringMap{ "key": ClusterPeeringArgs{...} }
type ClusterPeeringMapOutput ¶
type ClusterPeeringMapOutput struct{ *pulumi.OutputState }
func (ClusterPeeringMapOutput) ElementType ¶
func (ClusterPeeringMapOutput) ElementType() reflect.Type
func (ClusterPeeringMapOutput) MapIndex ¶
func (o ClusterPeeringMapOutput) MapIndex(k pulumi.StringInput) ClusterPeeringOutput
func (ClusterPeeringMapOutput) ToClusterPeeringMapOutput ¶
func (o ClusterPeeringMapOutput) ToClusterPeeringMapOutput() ClusterPeeringMapOutput
func (ClusterPeeringMapOutput) ToClusterPeeringMapOutputWithContext ¶
func (o ClusterPeeringMapOutput) ToClusterPeeringMapOutputWithContext(ctx context.Context) ClusterPeeringMapOutput
type ClusterPeeringOutput ¶
type ClusterPeeringOutput struct{ *pulumi.OutputState }
func (ClusterPeeringOutput) Clusters ¶
func (o ClusterPeeringOutput) Clusters() pulumi.StringArrayOutput
List of DSQL Cluster ARNs to be peered to this cluster.
func (ClusterPeeringOutput) ElementType ¶
func (ClusterPeeringOutput) ElementType() reflect.Type
func (ClusterPeeringOutput) Identifier ¶
func (o ClusterPeeringOutput) Identifier() pulumi.StringOutput
DSQL Cluster Identifier.
func (ClusterPeeringOutput) Region ¶
func (o ClusterPeeringOutput) Region() pulumi.StringOutput
Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
func (ClusterPeeringOutput) Timeouts ¶
func (o ClusterPeeringOutput) Timeouts() ClusterPeeringTimeoutsPtrOutput
func (ClusterPeeringOutput) ToClusterPeeringOutput ¶
func (o ClusterPeeringOutput) ToClusterPeeringOutput() ClusterPeeringOutput
func (ClusterPeeringOutput) ToClusterPeeringOutputWithContext ¶
func (o ClusterPeeringOutput) ToClusterPeeringOutputWithContext(ctx context.Context) ClusterPeeringOutput
func (ClusterPeeringOutput) WitnessRegion ¶
func (o ClusterPeeringOutput) WitnessRegion() pulumi.StringOutput
Witness region for a multi-region cluster.
type ClusterPeeringState ¶
type ClusterPeeringState struct {
// List of DSQL Cluster ARNs to be peered to this cluster.
Clusters pulumi.StringArrayInput
// DSQL Cluster Identifier.
Identifier pulumi.StringPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
Timeouts ClusterPeeringTimeoutsPtrInput
// Witness region for a multi-region cluster.
WitnessRegion pulumi.StringPtrInput
}
func (ClusterPeeringState) ElementType ¶
func (ClusterPeeringState) ElementType() reflect.Type
type ClusterPeeringTimeouts ¶
type ClusterPeeringTimeouts struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create *string `pulumi:"create"`
}
type ClusterPeeringTimeoutsArgs ¶
type ClusterPeeringTimeoutsArgs struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create pulumi.StringPtrInput `pulumi:"create"`
}
func (ClusterPeeringTimeoutsArgs) ElementType ¶
func (ClusterPeeringTimeoutsArgs) ElementType() reflect.Type
func (ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsOutput ¶
func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsOutput() ClusterPeeringTimeoutsOutput
func (ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsOutputWithContext ¶
func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsOutput
func (ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsPtrOutput ¶
func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsPtrOutput() ClusterPeeringTimeoutsPtrOutput
func (ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsPtrOutputWithContext ¶
func (i ClusterPeeringTimeoutsArgs) ToClusterPeeringTimeoutsPtrOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsPtrOutput
type ClusterPeeringTimeoutsInput ¶
type ClusterPeeringTimeoutsInput interface {
pulumi.Input
ToClusterPeeringTimeoutsOutput() ClusterPeeringTimeoutsOutput
ToClusterPeeringTimeoutsOutputWithContext(context.Context) ClusterPeeringTimeoutsOutput
}
ClusterPeeringTimeoutsInput is an input type that accepts ClusterPeeringTimeoutsArgs and ClusterPeeringTimeoutsOutput values. You can construct a concrete instance of `ClusterPeeringTimeoutsInput` via:
ClusterPeeringTimeoutsArgs{...}
type ClusterPeeringTimeoutsOutput ¶
type ClusterPeeringTimeoutsOutput struct{ *pulumi.OutputState }
func (ClusterPeeringTimeoutsOutput) Create ¶
func (o ClusterPeeringTimeoutsOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (ClusterPeeringTimeoutsOutput) ElementType ¶
func (ClusterPeeringTimeoutsOutput) ElementType() reflect.Type
func (ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsOutput ¶
func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsOutput() ClusterPeeringTimeoutsOutput
func (ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsOutputWithContext ¶
func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsOutput
func (ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsPtrOutput ¶
func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsPtrOutput() ClusterPeeringTimeoutsPtrOutput
func (ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsPtrOutputWithContext ¶
func (o ClusterPeeringTimeoutsOutput) ToClusterPeeringTimeoutsPtrOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsPtrOutput
type ClusterPeeringTimeoutsPtrInput ¶
type ClusterPeeringTimeoutsPtrInput interface {
pulumi.Input
ToClusterPeeringTimeoutsPtrOutput() ClusterPeeringTimeoutsPtrOutput
ToClusterPeeringTimeoutsPtrOutputWithContext(context.Context) ClusterPeeringTimeoutsPtrOutput
}
ClusterPeeringTimeoutsPtrInput is an input type that accepts ClusterPeeringTimeoutsArgs, ClusterPeeringTimeoutsPtr and ClusterPeeringTimeoutsPtrOutput values. You can construct a concrete instance of `ClusterPeeringTimeoutsPtrInput` via:
ClusterPeeringTimeoutsArgs{...}
or:
nil
func ClusterPeeringTimeoutsPtr ¶
func ClusterPeeringTimeoutsPtr(v *ClusterPeeringTimeoutsArgs) ClusterPeeringTimeoutsPtrInput
type ClusterPeeringTimeoutsPtrOutput ¶
type ClusterPeeringTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (ClusterPeeringTimeoutsPtrOutput) Create ¶
func (o ClusterPeeringTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (ClusterPeeringTimeoutsPtrOutput) Elem ¶
func (o ClusterPeeringTimeoutsPtrOutput) Elem() ClusterPeeringTimeoutsOutput
func (ClusterPeeringTimeoutsPtrOutput) ElementType ¶
func (ClusterPeeringTimeoutsPtrOutput) ElementType() reflect.Type
func (ClusterPeeringTimeoutsPtrOutput) ToClusterPeeringTimeoutsPtrOutput ¶
func (o ClusterPeeringTimeoutsPtrOutput) ToClusterPeeringTimeoutsPtrOutput() ClusterPeeringTimeoutsPtrOutput
func (ClusterPeeringTimeoutsPtrOutput) ToClusterPeeringTimeoutsPtrOutputWithContext ¶
func (o ClusterPeeringTimeoutsPtrOutput) ToClusterPeeringTimeoutsPtrOutputWithContext(ctx context.Context) ClusterPeeringTimeoutsPtrOutput
type ClusterState ¶
type ClusterState struct {
// ARN of the Cluster.
Arn pulumi.StringPtrInput
// Whether deletion protection is enabled in this cluster.
DeletionProtectionEnabled pulumi.BoolPtrInput
// Encryption configuration details for the DSQL Cluster.
EncryptionDetails ClusterEncryptionDetailArrayInput
// Cluster Identifier.
Identifier pulumi.StringPtrInput
// The ARN of the AWS KMS key that encrypts data in the DSQL Cluster, or `"AWS_OWNED_KMS_KEY"`.
KmsEncryptionKey pulumi.StringPtrInput
// Multi-region properties of the DSQL Cluster.
MultiRegionProperties ClusterMultiRegionPropertiesPtrInput
// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
Region pulumi.StringPtrInput
// Set of tags to be associated with the AWS DSQL Cluster resource.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
Timeouts ClusterTimeoutsPtrInput
// The DSQL Cluster's VPC endpoint service name.
VpcEndpointServiceName pulumi.StringPtrInput
}
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type ClusterTimeouts ¶
type ClusterTimeouts struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create *string `pulumi:"create"`
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Delete *string `pulumi:"delete"`
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Update *string `pulumi:"update"`
}
type ClusterTimeoutsArgs ¶
type ClusterTimeoutsArgs struct {
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create pulumi.StringPtrInput `pulumi:"create"`
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Delete pulumi.StringPtrInput `pulumi:"delete"`
// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Update pulumi.StringPtrInput `pulumi:"update"`
}
func (ClusterTimeoutsArgs) ElementType ¶
func (ClusterTimeoutsArgs) ElementType() reflect.Type
func (ClusterTimeoutsArgs) ToClusterTimeoutsOutput ¶
func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutput() ClusterTimeoutsOutput
func (ClusterTimeoutsArgs) ToClusterTimeoutsOutputWithContext ¶
func (i ClusterTimeoutsArgs) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput
func (ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutput ¶
func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput
func (ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutputWithContext ¶
func (i ClusterTimeoutsArgs) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput
type ClusterTimeoutsInput ¶
type ClusterTimeoutsInput interface {
pulumi.Input
ToClusterTimeoutsOutput() ClusterTimeoutsOutput
ToClusterTimeoutsOutputWithContext(context.Context) ClusterTimeoutsOutput
}
ClusterTimeoutsInput is an input type that accepts ClusterTimeoutsArgs and ClusterTimeoutsOutput values. You can construct a concrete instance of `ClusterTimeoutsInput` via:
ClusterTimeoutsArgs{...}
type ClusterTimeoutsOutput ¶
type ClusterTimeoutsOutput struct{ *pulumi.OutputState }
func (ClusterTimeoutsOutput) Create ¶
func (o ClusterTimeoutsOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (ClusterTimeoutsOutput) Delete ¶
func (o ClusterTimeoutsOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (ClusterTimeoutsOutput) ElementType ¶
func (ClusterTimeoutsOutput) ElementType() reflect.Type
func (ClusterTimeoutsOutput) ToClusterTimeoutsOutput ¶
func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutput() ClusterTimeoutsOutput
func (ClusterTimeoutsOutput) ToClusterTimeoutsOutputWithContext ¶
func (o ClusterTimeoutsOutput) ToClusterTimeoutsOutputWithContext(ctx context.Context) ClusterTimeoutsOutput
func (ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutput ¶
func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput
func (ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutputWithContext ¶
func (o ClusterTimeoutsOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput
func (ClusterTimeoutsOutput) Update ¶
func (o ClusterTimeoutsOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
type ClusterTimeoutsPtrInput ¶
type ClusterTimeoutsPtrInput interface {
pulumi.Input
ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput
ToClusterTimeoutsPtrOutputWithContext(context.Context) ClusterTimeoutsPtrOutput
}
ClusterTimeoutsPtrInput is an input type that accepts ClusterTimeoutsArgs, ClusterTimeoutsPtr and ClusterTimeoutsPtrOutput values. You can construct a concrete instance of `ClusterTimeoutsPtrInput` via:
ClusterTimeoutsArgs{...}
or:
nil
func ClusterTimeoutsPtr ¶
func ClusterTimeoutsPtr(v *ClusterTimeoutsArgs) ClusterTimeoutsPtrInput
type ClusterTimeoutsPtrOutput ¶
type ClusterTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (ClusterTimeoutsPtrOutput) Create ¶
func (o ClusterTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (ClusterTimeoutsPtrOutput) Delete ¶
func (o ClusterTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (ClusterTimeoutsPtrOutput) Elem ¶
func (o ClusterTimeoutsPtrOutput) Elem() ClusterTimeoutsOutput
func (ClusterTimeoutsPtrOutput) ElementType ¶
func (ClusterTimeoutsPtrOutput) ElementType() reflect.Type
func (ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutput ¶
func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutput() ClusterTimeoutsPtrOutput
func (ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutputWithContext ¶
func (o ClusterTimeoutsPtrOutput) ToClusterTimeoutsPtrOutputWithContext(ctx context.Context) ClusterTimeoutsPtrOutput
func (ClusterTimeoutsPtrOutput) Update ¶
func (o ClusterTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).