Class CfnProtectionFlowLogs
- All Implemented Interfaces:
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.mixins.preview.services.shield.mixins.*; CfnProtectionFlowLogs cfnProtectionFlowLogs = new CfnProtectionFlowLogs();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnProtectionFlowLogs(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProtectionFlowLogs(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiontoDestination(IDeliveryDestinationRef destination) Delivers logs to a pre-created delivery destination.toDestination(IDeliveryDestinationRef destination, CfnProtectionFlowLogsDestProps props) Delivers logs to a pre-created delivery destination.toFirehose(IDeliveryStreamRef deliveryStream) Send logs to a Firehose Delivery Stream.toFirehose(IDeliveryStreamRef deliveryStream, CfnProtectionFlowLogsFirehoseProps props) Send logs to a Firehose Delivery Stream.toLogGroup(ILogGroupRef logGroup) Send logs to a CloudWatch Log Group.toLogGroup(ILogGroupRef logGroup, CfnProtectionFlowLogsLogGroupProps props) Send logs to a CloudWatch Log Group.toS3(IBucketRef bucket) Send logs to an S3 Bucket.toS3(IBucketRef bucket, CfnProtectionFlowLogsS3Props props) Send logs to an S3 Bucket.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CfnProtectionFlowLogs
protected CfnProtectionFlowLogs(software.amazon.jsii.JsiiObjectRef objRef) -
CfnProtectionFlowLogs
protected CfnProtectionFlowLogs(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnProtectionFlowLogs
@Stability(Experimental) public CfnProtectionFlowLogs()
-
-
Method Details
-
toDestination
@Stability(Stable) @NotNull public CfnProtectionLogsMixin toDestination(@NotNull IDeliveryDestinationRef destination, @Nullable CfnProtectionFlowLogsDestProps props) Delivers logs to a pre-created delivery destination.Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
- Parameters:
destination- This parameter is required.props- Additional properties that are optionally used in log delivery for destinations.
-
toDestination
@Stability(Stable) @NotNull public CfnProtectionLogsMixin toDestination(@NotNull IDeliveryDestinationRef destination) Delivers logs to a pre-created delivery destination.Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
- Parameters:
destination- This parameter is required.
-
toFirehose
@Stability(Stable) @NotNull public CfnProtectionLogsMixin toFirehose(@NotNull IDeliveryStreamRef deliveryStream, @Nullable CfnProtectionFlowLogsFirehoseProps props) Send logs to a Firehose Delivery Stream.- Parameters:
deliveryStream- This parameter is required.props- Additional properties that are optionally used in log delivery for Firehose destinations.
-
toFirehose
@Stability(Stable) @NotNull public CfnProtectionLogsMixin toFirehose(@NotNull IDeliveryStreamRef deliveryStream) Send logs to a Firehose Delivery Stream.- Parameters:
deliveryStream- This parameter is required.
-
toLogGroup
@Stability(Stable) @NotNull public CfnProtectionLogsMixin toLogGroup(@NotNull ILogGroupRef logGroup, @Nullable CfnProtectionFlowLogsLogGroupProps props) Send logs to a CloudWatch Log Group.- Parameters:
logGroup- This parameter is required.props- Additional properties that are optionally used in log delivery for Log Group destinations.
-
toLogGroup
@Stability(Stable) @NotNull public CfnProtectionLogsMixin toLogGroup(@NotNull ILogGroupRef logGroup) Send logs to a CloudWatch Log Group.- Parameters:
logGroup- This parameter is required.
-
toS3
@Stability(Stable) @NotNull public CfnProtectionLogsMixin toS3(@NotNull IBucketRef bucket, @Nullable CfnProtectionFlowLogsS3Props props) Send logs to an S3 Bucket.- Parameters:
bucket- This parameter is required.props- Additional properties that are optionally used in log delivery for S3 destinations.
-
toS3
Send logs to an S3 Bucket.- Parameters:
bucket- This parameter is required.
-