CfnResiliencyGroupProps Struct
Properties for defining a CfnResiliencyGroup.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_directconnect as directconnect } from 'aws-cdk-lib';
const cfnResiliencyGroupProps: directconnect.CfnResiliencyGroupProps = {
resiliencyGroupName: 'resiliencyGroupName',
// the properties below are optional
connectionArns: ['connectionArns'],
intendedResiliencyModel: 'intendedResiliencyModel',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_directconnect as directconnect
cfn_resiliency_group_props = directconnect.CfnResiliencyGroupProps(
resiliency_group_name="resiliencyGroupName",
# the properties below are optional
connection_arns=["connectionArns"],
intended_resiliency_model="intendedResiliencyModel",
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.directconnect.*;
CfnResiliencyGroupProps cfnResiliencyGroupProps = CfnResiliencyGroupProps.builder()
.resiliencyGroupName("resiliencyGroupName")
// the properties below are optional
.connectionArns(List.of("connectionArns"))
.intendedResiliencyModel("intendedResiliencyModel")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DirectConnect;
var cfnResiliencyGroupProps = new CfnResiliencyGroupProps {
ResiliencyGroupName = "resiliencyGroupName",
// the properties below are optional
ConnectionArns = new [] { "connectionArns" },
IntendedResiliencyModel = "intendedResiliencyModel",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnResiliencyGroupProps := &CfnResiliencyGroupProps{
ResiliencyGroupName: jsii.String("resiliencyGroupName"),
// the properties below are optional
ConnectionArns: []interface{}{
jsii.String("connectionArns"),
},
IntendedResiliencyModel: jsii.String("intendedResiliencyModel"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
connectionArnsoptionalstring | IConnectionRef[]connection_arnsoptionaltyping.List[typing.Union[str, IConnectionRef]]connectionArnsoptionalList<String>ConnectionArnsoptionalstring[]ConnectionArnsoptional*[]interface{} #The ARNs of the connections that are members of the resiliency group.
notes
When specified, this is the complete, authoritative membership list: on update, connections not present are disassociated, and an explicit empty list removes all members. Omit the property to leave the existing membership unmanaged (unchanged on update). On create, an omitted or empty list means no connections are associated.
intendedResiliencyModeloptionalstringintended_resiliency_modeloptionalstrintendedResiliencyModeloptionalStringIntendedResiliencyModeloptionalstringIntendedResiliencyModeloptional*string #The resiliency model that the resiliency group is intended to meet.
Required when creating a resiliency group.
resiliencyGroupNamestringresiliency_group_namestrresiliencyGroupNameStringResiliencyGroupNamestringResiliencyGroupName*string required #The name of the resiliency group.