@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.918Z") @Stability(value=Stable) public interface CfnFlowLogProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnFlowLogProps cfnFlowLogProps = CfnFlowLogProps.builder()
.resourceId("resourceId")
.resourceType("resourceType")
.trafficType("trafficType")
// the properties below are optional
.deliverLogsPermissionArn("deliverLogsPermissionArn")
.logDestination("logDestination")
.logDestinationType("logDestinationType")
.logFormat("logFormat")
.logGroupName("logGroupName")
.maxAggregationInterval(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFlowLogProps.Builder
A builder for
CfnFlowLogProps |
static class |
CfnFlowLogProps.Jsii$Proxy
An implementation for
CfnFlowLogProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnFlowLogProps.Builder |
builder() |
default String |
getDeliverLogsPermissionArn()
`AWS::EC2::FlowLog.DeliverLogsPermissionArn`.
|
default String |
getLogDestination()
`AWS::EC2::FlowLog.LogDestination`.
|
default String |
getLogDestinationType()
`AWS::EC2::FlowLog.LogDestinationType`.
|
default String |
getLogFormat()
`AWS::EC2::FlowLog.LogFormat`.
|
default String |
getLogGroupName()
`AWS::EC2::FlowLog.LogGroupName`.
|
default Number |
getMaxAggregationInterval()
`AWS::EC2::FlowLog.MaxAggregationInterval`.
|
String |
getResourceId()
`AWS::EC2::FlowLog.ResourceId`.
|
String |
getResourceType()
`AWS::EC2::FlowLog.ResourceType`.
|
default List<CfnTag> |
getTags()
`AWS::EC2::FlowLog.Tags`.
|
String |
getTrafficType()
`AWS::EC2::FlowLog.TrafficType`.
|
@Stability(value=Stable) @Nullable default String getDeliverLogsPermissionArn()
@Stability(value=Stable) @Nullable default String getLogDestination()
@Stability(value=Stable) @Nullable default String getLogDestinationType()
@Stability(value=Stable) @Nullable default String getLogFormat()
@Stability(value=Stable) @Nullable default String getLogGroupName()
@Stability(value=Stable) @Nullable default Number getMaxAggregationInterval()
@Stability(value=Stable) @NotNull String getResourceId()
@Stability(value=Stable) @NotNull String getResourceType()
@Stability(value=Stable) @NotNull String getTrafficType()
@Stability(value=Stable) static CfnFlowLogProps.Builder builder()
CfnFlowLogProps.Builder of CfnFlowLogPropsCopyright © 2021. All rights reserved.