S3LogsProperty Struct
Amazon S3 logging configuration.
| 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_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const s3LogsProperty: imagebuilder.CfnInfrastructureConfiguration.S3LogsProperty = {
s3BucketName: 's3BucketName',
s3KeyPrefix: 's3KeyPrefix',
};
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_imagebuilder as imagebuilder
s3_logs_property = imagebuilder.CfnInfrastructureConfiguration.S3LogsProperty(
s3_bucket_name="s3BucketName",
s3_key_prefix="s3KeyPrefix"
)
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.imagebuilder.*;
S3LogsProperty s3LogsProperty = S3LogsProperty.builder()
.s3BucketName("s3BucketName")
.s3KeyPrefix("s3KeyPrefix")
.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.ImageBuilder;
var s3LogsProperty = new S3LogsProperty {
S3BucketName = "s3BucketName",
S3KeyPrefix = "s3KeyPrefix"
};
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"
s3LogsProperty := &S3LogsProperty{
S3BucketName: jsii.String("s3BucketName"),
S3KeyPrefix: jsii.String("s3KeyPrefix"),
}
Properties
s3BucketNameoptionalstrings3_bucket_nameoptionalstrs3BucketNameoptionalStringS3BucketNameoptionalstringS3BucketNameoptional*string #The S3 bucket in which to store the logs.
s3KeyPrefixoptionalstrings3_key_prefixoptionalstrs3KeyPrefixoptionalStringS3KeyPrefixoptionalstringS3KeyPrefixoptional*string #The Amazon S3 path to the bucket where the logs are stored.