@Stability(value=Stable) public static final class CfnSubscriptionFilterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSubscriptionFilterProps>
CfnSubscriptionFilterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSubscriptionFilterProps |
build()
Builds the configured instance.
|
CfnSubscriptionFilterProps.Builder |
destinationArn(String destinationArn)
Sets the value of
CfnSubscriptionFilterProps.getDestinationArn() |
CfnSubscriptionFilterProps.Builder |
filterPattern(String filterPattern)
Sets the value of
CfnSubscriptionFilterProps.getFilterPattern() |
CfnSubscriptionFilterProps.Builder |
logGroupName(String logGroupName)
Sets the value of
CfnSubscriptionFilterProps.getLogGroupName() |
CfnSubscriptionFilterProps.Builder |
roleArn(String roleArn)
Sets the value of
CfnSubscriptionFilterProps.getRoleArn() |
@Stability(value=Stable) public CfnSubscriptionFilterProps.Builder destinationArn(String destinationArn)
CfnSubscriptionFilterProps.getDestinationArn()destinationArn - The Amazon Resource Name (ARN) of the destination. This parameter is required.this@Stability(value=Stable) public CfnSubscriptionFilterProps.Builder filterPattern(String filterPattern)
CfnSubscriptionFilterProps.getFilterPattern()filterPattern - The filtering expressions that restrict what gets delivered to the destination AWS resource. This parameter is required.
For more information about the filter pattern syntax, see Filter and Pattern Syntax .this@Stability(value=Stable) public CfnSubscriptionFilterProps.Builder logGroupName(String logGroupName)
CfnSubscriptionFilterProps.getLogGroupName()logGroupName - The log group to associate with the subscription filter. This parameter is required.
All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.this@Stability(value=Stable) public CfnSubscriptionFilterProps.Builder roleArn(String roleArn)
CfnSubscriptionFilterProps.getRoleArn()roleArn - The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream.
You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.this@Stability(value=Stable) public CfnSubscriptionFilterProps build()
build in interface software.amazon.jsii.Builder<CfnSubscriptionFilterProps>CfnSubscriptionFilterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.