Skip to content
v2.278.0

S3ConfigurationProperty 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 s3ConfigurationProperty: logs.CfnScheduledQuery.S3ConfigurationProperty = {
  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

s3_configuration_property = 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.*;

S3ConfigurationProperty s3ConfigurationProperty = S3ConfigurationProperty.builder()
        .destinationIdentifier("destinationIdentifier")
        .roleArn("roleArn")
        .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 s3ConfigurationProperty = 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"

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

Properties ​

destinationIdentifierstringdestination_identifierstrdestinationIdentifierStringDestinationIdentifierstringDestinationIdentifier*string required #
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*string required #