Class CfnVerifiedAccessInstance.S3Property
Options for Amazon S3 as a logging destination.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVerifiedAccessInstance.S3Property : CfnVerifiedAccessInstance.IS3Property
Syntax (vb)
Public Class CfnVerifiedAccessInstance.S3Property Implements CfnVerifiedAccessInstance.IS3Property
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var s3Property = new S3Property {
BucketName = "bucketName",
BucketOwner = "bucketOwner",
Enabled = false,
Prefix = "prefix"
};
Synopsis
Constructors
| S3Property() | Options for Amazon S3 as a logging destination. |
Properties
| BucketName | The bucket name. |
| BucketOwner | The AWS account number that owns the bucket. |
| Enabled | Indicates whether logging is enabled. |
| Prefix | The bucket prefix. |
Constructors
S3Property()
Options for Amazon S3 as a logging destination.
public S3Property()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var s3Property = new S3Property {
BucketName = "bucketName",
BucketOwner = "bucketOwner",
Enabled = false,
Prefix = "prefix"
};
Properties
BucketName
The bucket name.
public string? BucketName { get; set; }
Property Value
Remarks
BucketOwner
The AWS account number that owns the bucket.
public string? BucketOwner { get; set; }
Property Value
Remarks
Enabled
Indicates whether logging is enabled.
public object? Enabled { get; set; }
Property Value
Remarks
Prefix
The bucket prefix.
public string? Prefix { get; set; }