@Stability(value=Stable) public static final class CfnLoggingConfiguration.LogDestinationConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLoggingConfiguration.LogDestinationConfigProperty>
CfnLoggingConfiguration.LogDestinationConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLoggingConfiguration.LogDestinationConfigProperty |
build()
Builds the configured instance.
|
CfnLoggingConfiguration.LogDestinationConfigProperty.Builder |
logDestination(IResolvable logDestination)
Sets the value of
CfnLoggingConfiguration.LogDestinationConfigProperty.getLogDestination() |
CfnLoggingConfiguration.LogDestinationConfigProperty.Builder |
logDestination(Map<String,String> logDestination)
Sets the value of
CfnLoggingConfiguration.LogDestinationConfigProperty.getLogDestination() |
CfnLoggingConfiguration.LogDestinationConfigProperty.Builder |
logDestinationType(String logDestinationType)
|
CfnLoggingConfiguration.LogDestinationConfigProperty.Builder |
logType(String logType)
Sets the value of
CfnLoggingConfiguration.LogDestinationConfigProperty.getLogType() |
@Stability(value=Stable) public CfnLoggingConfiguration.LogDestinationConfigProperty.Builder logDestination(IResolvable logDestination)
CfnLoggingConfiguration.LogDestinationConfigProperty.getLogDestination()logDestination - The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type. This parameter is required.
bucketName , and optionally provide a prefix, with key prefix . The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts :
"LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts" }
logGroup . The following example specifies a log group named alert-log-group :
"LogDestination": { "logGroup": "alert-log-group" }
deliveryStream . The following example specifies a delivery stream named alert-delivery-stream :
"LogDestination": { "deliveryStream": "alert-delivery-stream" }
this@Stability(value=Stable) public CfnLoggingConfiguration.LogDestinationConfigProperty.Builder logDestination(Map<String,String> logDestination)
CfnLoggingConfiguration.LogDestinationConfigProperty.getLogDestination()logDestination - The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type. This parameter is required.
bucketName , and optionally provide a prefix, with key prefix . The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts :
"LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts" }
logGroup . The following example specifies a log group named alert-log-group :
"LogDestination": { "logGroup": "alert-log-group" }
deliveryStream . The following example specifies a delivery stream named alert-delivery-stream :
"LogDestination": { "deliveryStream": "alert-delivery-stream" }
this@Stability(value=Stable) public CfnLoggingConfiguration.LogDestinationConfigProperty.Builder logDestinationType(String logDestinationType)
logDestinationType - The type of storage destination to send these logs to. This parameter is required.
You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.this@Stability(value=Stable) public CfnLoggingConfiguration.LogDestinationConfigProperty.Builder logType(String logType)
CfnLoggingConfiguration.LogDestinationConfigProperty.getLogType()logType - The type of log to send. This parameter is required.
Alert logs report traffic that matches a stateful rule with an action setting that sends an alert log message. Flow logs are standard network traffic flow logs.this@Stability(value=Stable) public CfnLoggingConfiguration.LogDestinationConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnLoggingConfiguration.LogDestinationConfigProperty>CfnLoggingConfiguration.LogDestinationConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.