interface ReplicaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Synthetics.CfnCanary.ReplicaProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssynthetics#CfnCanary_ReplicaProperty |
Java | software.amazon.awscdk.services.synthetics.CfnCanary.ReplicaProperty |
Python | aws_cdk.aws_synthetics.CfnCanary.ReplicaProperty |
TypeScript | aws-cdk-lib » aws_synthetics » CfnCanary » ReplicaProperty |
Configuration and status for a replica location in a multi-location canary.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_synthetics as synthetics } from 'aws-cdk-lib';
const replicaProperty: synthetics.CfnCanary.ReplicaProperty = {
location: 'location',
// the properties below are optional
canaryState: 'canaryState',
kmsKeyArn: 'kmsKeyArn',
lastModified: 123,
replicationStatus: {
state: 'state',
},
resourcesToReplicateTags: ['resourcesToReplicateTags'],
tags: [{
key: 'key',
value: 'value',
}],
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
// the properties below are optional
ipv6AllowedForDualStack: false,
vpcId: 'vpcId',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| location | string | AWS region for the replica (e.g., us-east-1). |
| canary | string | State of the replica canary (CREATING, READY, RUNNING, etc.). |
| kms | string | ARN of the KMS key used to encrypt the replica canary's Lambda function environment variables. |
| last | number | Last modified timestamp of the replica. |
| replication | IResolvable | Replica | Replication status details. |
| resources | string[] | Resources to replicate tags to for this replica (e.g., lambda-function). |
| tags? | Cfn[] | Tags to apply to this replica canary and optionally its Lambda function. |
| vpc | IResolvable | VPCConfig |
location
Type:
string
AWS region for the replica (e.g., us-east-1).
canaryState?
Type:
string
(optional)
State of the replica canary (CREATING, READY, RUNNING, etc.).
kmsKeyArn?
Type:
string
(optional)
ARN of the KMS key used to encrypt the replica canary's Lambda function environment variables.
lastModified?
Type:
number
(optional)
Last modified timestamp of the replica.
replicationStatus?
Type:
IResolvable | Replica
(optional)
Replication status details.
resourcesToReplicateTags?
Type:
string[]
(optional)
Resources to replicate tags to for this replica (e.g., lambda-function).
tags?
Type:
Cfn[]
(optional)
Tags to apply to this replica canary and optionally its Lambda function.
vpcConfig?
Type:
IResolvable | VPCConfig
(optional)

.NET
Go
Java
Python
TypeScript