@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:32.814Z")
public interface FlowLogDestinationConfig
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.services.logs.*; import software.amazon.awscdk.services.s3.*; Bucket bucket; LogGroup logGroup; Role role; FlowLogDestinationConfig flowLogDestinationConfig = FlowLogDestinationConfig.builder() .logDestinationType(FlowLogDestinationType.CLOUD_WATCH_LOGS) // the properties below are optional .iamRole(role) .keyPrefix("keyPrefix") .logGroup(logGroup) .s3Bucket(bucket) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
FlowLogDestinationConfig.Builder
A builder for
FlowLogDestinationConfig |
static class |
FlowLogDestinationConfig.Jsii$Proxy
An implementation for
FlowLogDestinationConfig |
Modifier and Type | Method and Description |
---|---|
static FlowLogDestinationConfig.Builder |
builder() |
default IRole |
getIamRole()
The IAM Role that has access to publish to CloudWatch logs.
|
default java.lang.String |
getKeyPrefix()
S3 bucket key prefix to publish the flow logs to.
|
FlowLogDestinationType |
getLogDestinationType()
The type of destination to publish the flow logs to.
|
default ILogGroup |
getLogGroup()
The CloudWatch Logs Log Group to publish the flow logs to.
|
default IBucket |
getS3Bucket()
S3 bucket to publish the flow logs to.
|
FlowLogDestinationType getLogDestinationType()
Default: - CLOUD_WATCH_LOGS
default IRole getIamRole()
Default: - default IAM role is created for you
default java.lang.String getKeyPrefix()
Default: - undefined
default ILogGroup getLogGroup()
Default: - default log group is created for you
default IBucket getS3Bucket()
Default: - undefined
static FlowLogDestinationConfig.Builder builder()
FlowLogDestinationConfig.Builder
of FlowLogDestinationConfig