Skip to content
v2.278.0

DestinationConfigurationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const destinationConfigurationProperty: logs.CfnScheduledQuery.DestinationConfigurationProperty = {
  s3Configuration: {
    destinationIdentifier: 'destinationIdentifier',
    roleArn: 'roleArn',
  },
};
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_logs as logs

destination_configuration_property = logs.CfnScheduledQuery.DestinationConfigurationProperty(
    s3_configuration=logs.CfnScheduledQuery.S3ConfigurationProperty(
        destination_identifier="destinationIdentifier",
        role_arn="roleArn"
    )
)
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.logs.*;

DestinationConfigurationProperty destinationConfigurationProperty = DestinationConfigurationProperty.builder()
        .s3Configuration(S3ConfigurationProperty.builder()
                .destinationIdentifier("destinationIdentifier")
                .roleArn("roleArn")
                .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.Logs;

var destinationConfigurationProperty = new DestinationConfigurationProperty {
    S3Configuration = new S3ConfigurationProperty {
        DestinationIdentifier = "destinationIdentifier",
        RoleArn = "roleArn"
    }
};
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"

destinationConfigurationProperty := &DestinationConfigurationProperty{
	S3Configuration: &S3ConfigurationProperty{
		DestinationIdentifier: jsii.String("destinationIdentifier"),
		RoleArn: jsii.String("roleArn"),
	},
}

Properties ​

s3ConfigurationoptionalIResolvable | CfnScheduledQuery.S3ConfigurationPropertys3_configurationoptionaltyping.Union[IResolvable, S3ConfigurationProperty]s3ConfigurationoptionalIResolvableS3ConfigurationoptionalIResolvableS3Configurationoptionalinterface{} #