Class CfnProtectionFlowLogs
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.shield.mixins.CfnProtectionFlowLogs
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-19T19:24:02.900Z")
@Stability(Stable)
public class CfnProtectionFlowLogs
extends software.amazon.jsii.JsiiObject
Builder for CfnProtectionLogsMixin to generate FLOW_LOGS for CfnProtection.
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.toFirehose(IDeliveryStreamRef deliveryStream) Send logs to a Firehose Delivery Stream.toLogGroup(ILogGroupRef logGroup) Send logs to a CloudWatch Log Group.toS3(IBucketRef bucket) Send logs to an S3 Bucket.toS3(IBucketRef bucket, IS3LogsDestinationProps 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) 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) Send logs to a Firehose Delivery Stream.- Parameters:
deliveryStream- This parameter is required.
-
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 IS3LogsDestinationProps props) Send logs to an S3 Bucket.- Parameters:
bucket- This parameter is required.props-
-
toS3
Send logs to an S3 Bucket.- Parameters:
bucket- This parameter is required.
-