@Stability(value=Stable) public static final class CfnSubscriptionFilter.Builder extends Object implements software.amazon.jsii.Builder<CfnSubscriptionFilter>
CfnSubscriptionFilter.| Modifier and Type | Method and Description |
|---|---|
CfnSubscriptionFilter |
build() |
static CfnSubscriptionFilter.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSubscriptionFilter.Builder |
destinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
|
CfnSubscriptionFilter.Builder |
filterPattern(String filterPattern)
The filtering expressions that restrict what gets delivered to the destination AWS resource.
|
CfnSubscriptionFilter.Builder |
logGroupName(String logGroupName)
The log group to associate with the subscription filter.
|
CfnSubscriptionFilter.Builder |
roleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream.
|
@Stability(value=Stable) public static CfnSubscriptionFilter.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnSubscriptionFilter.Builder.@Stability(value=Stable) public CfnSubscriptionFilter.Builder destinationArn(String destinationArn)
destinationArn - The Amazon Resource Name (ARN) of the destination. This parameter is required.this@Stability(value=Stable) public CfnSubscriptionFilter.Builder filterPattern(String filterPattern)
For more information about the filter pattern syntax, see Filter and Pattern Syntax .
filterPattern - The filtering expressions that restrict what gets delivered to the destination AWS resource. This parameter is required.this@Stability(value=Stable) public CfnSubscriptionFilter.Builder logGroupName(String logGroupName)
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.
logGroupName - The log group to associate with the subscription filter. This parameter is required.this@Stability(value=Stable) public CfnSubscriptionFilter.Builder roleArn(String roleArn)
You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
roleArn - The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. This parameter is required.this@Stability(value=Stable) public CfnSubscriptionFilter build()
build in interface software.amazon.jsii.Builder<CfnSubscriptionFilter>Copyright © 2022. All rights reserved.