Class CfnResourceSet
Creates a resource set in Amazon Route 53 Application Recovery Controller.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53RecoveryReadiness
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourceSet : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnResourceSet
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
A resource set is a set of resources of one type, such as Network Load Balancers, that span multiple cells. You can associate a resource set with a readiness check to have Route 53 ARC continually monitor the resources in the set for failover readiness.
You typically create a resource set and a readiness check for each supported type of AWS resource in your application.
For more information, see Readiness checks, resource sets, and readiness scopes in the Amazon Route 53 Application Recovery Controller Developer Guide.
Route 53 ARC Readiness supports us-east-1 and us-west-2 AWS Regions only.
CloudformationResource: AWS::Route53RecoveryReadiness::ResourceSet
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53RecoveryReadiness;
var cfnResourceSet = new CfnResourceSet(this, "MyCfnResourceSet", new CfnResourceSetProps {
Resources = new [] { new ResourceProperty {
ComponentId = "componentId",
DnsTargetResource = new DNSTargetResourceProperty {
DomainName = "domainName",
HostedZoneArn = "hostedZoneArn",
RecordSetId = "recordSetId",
RecordType = "recordType",
TargetResource = new TargetResourceProperty {
NlbResource = new NLBResourceProperty {
Arn = "arn"
},
R53Resource = new R53ResourceRecordProperty {
DomainName = "domainName",
RecordSetId = "recordSetId"
}
}
},
ReadinessScopes = new [] { "readinessScopes" },
ResourceArn = "resourceArn"
} },
ResourceSetType = "resourceSetType",
// the properties below are optional
ResourceSetName = "resourceSetName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnResourceSet(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnResourceSet(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnResourceSet(Construct, String, ICfnResourceSetProps) |
Properties
AttrResourceSetArn | The Amazon Resource Name (ARN) of the resource set. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Resources | A list of resource objects in the resource set. |
ResourceSetName | The name of the resource set to create. |
ResourceSetType | The resource type of the resources in the resource set. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | A tag to associate with the parameters for a resource set. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnResourceSet(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnResourceSet(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnResourceSet(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnResourceSet(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnResourceSet(Construct, String, ICfnResourceSetProps)
public CfnResourceSet(Construct scope, string id, ICfnResourceSetProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnResourceSetProps
Resource properties.
Properties
AttrResourceSetArn
The Amazon Resource Name (ARN) of the resource set.
public virtual string AttrResourceSetArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceSetArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Resources
A list of resource objects in the resource set.
public virtual object Resources { get; set; }
Property Value
System.Object
ResourceSetName
The name of the resource set to create.
public virtual string ResourceSetName { get; set; }
Property Value
System.String
ResourceSetType
The resource type of the resources in the resource set.
public virtual string ResourceSetType { get; set; }
Property Value
System.String
Remarks
Enter one of the following values for resource type:.
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A tag to associate with the parameters for a resource set.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>