Skip to content
v2.278.0

DestinationMetricsConfigurationProperty Struct ​

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 destinationMetricsConfigurationProperty: observabilityadmin.CfnOrganizationCentralizationRule.DestinationMetricsConfigurationProperty = {
  backupConfiguration: {
    region: 'region',
  },
};
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

destination_metrics_configuration_property = observabilityadmin.CfnOrganizationCentralizationRule.DestinationMetricsConfigurationProperty(
    backup_configuration=observabilityadmin.CfnOrganizationCentralizationRule.MetricsBackupConfigurationProperty(
        region="region"
    )
)
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.*;

DestinationMetricsConfigurationProperty destinationMetricsConfigurationProperty = DestinationMetricsConfigurationProperty.builder()
        .backupConfiguration(MetricsBackupConfigurationProperty.builder()
                .region("region")
                .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.ObservabilityAdmin;

var destinationMetricsConfigurationProperty = new DestinationMetricsConfigurationProperty {
    BackupConfiguration = new MetricsBackupConfigurationProperty {
        Region = "region"
    }
};
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"

destinationMetricsConfigurationProperty := &DestinationMetricsConfigurationProperty{
	BackupConfiguration: &MetricsBackupConfigurationProperty{
		Region: jsii.String("region"),
	},
}

Properties ​

backupConfigurationoptionalIResolvable | CfnOrganizationCentralizationRule.MetricsBackupConfigurationPropertybackup_configurationoptionaltyping.Union[IResolvable, MetricsBackupConfigurationProperty]backupConfigurationoptionalIResolvableBackupConfigurationoptionalIResolvableBackupConfigurationoptionalinterface{} #