RegionStatusProperty Struct
Status of a telemetry rule in a specific region.
| 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_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const regionStatusProperty: observabilityadmin.CfnTelemetryRule.RegionStatusProperty = {
region: 'region',
ruleArn: 'ruleArn',
status: 'status',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_observabilityadmin as observabilityadmin
region_status_property = observabilityadmin.CfnTelemetryRule.RegionStatusProperty(
region="region",
rule_arn="ruleArn",
status="status"
)
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.observabilityadmin.*;
RegionStatusProperty regionStatusProperty = RegionStatusProperty.builder()
.region("region")
.ruleArn("ruleArn")
.status("status")
.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.ObservabilityAdmin;
var regionStatusProperty = new RegionStatusProperty {
Region = "region",
RuleArn = "ruleArn",
Status = "status"
};
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"
regionStatusProperty := &RegionStatusProperty{
Region: jsii.String("region"),
RuleArn: jsii.String("ruleArn"),
Status: jsii.String("status"),
}
Properties
regionoptionalstringregionoptionalstrregionoptionalStringRegionoptionalstringRegionoptional*string #The AWS region code.
ruleArnoptionalstringrule_arnoptionalstrruleArnoptionalStringRuleArnoptionalstringRuleArnoptional*string #The ARN of the rule in this region.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The replication status of the rule in this region.