@Stability(value=Stable) public static final class CfnDestinationProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDestinationProps>
CfnDestinationProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDestinationProps |
build()
Builds the configured instance.
|
CfnDestinationProps.Builder |
destinationName(String destinationName)
Sets the value of
CfnDestinationProps.getDestinationName() |
CfnDestinationProps.Builder |
destinationPolicy(String destinationPolicy)
Sets the value of
CfnDestinationProps.getDestinationPolicy() |
CfnDestinationProps.Builder |
roleArn(String roleArn)
Sets the value of
CfnDestinationProps.getRoleArn() |
CfnDestinationProps.Builder |
targetArn(String targetArn)
Sets the value of
CfnDestinationProps.getTargetArn() |
@Stability(value=Stable) public CfnDestinationProps.Builder destinationName(String destinationName)
CfnDestinationProps.getDestinationName()destinationName - The name of the destination. This parameter is required.this@Stability(value=Stable) public CfnDestinationProps.Builder destinationPolicy(String destinationPolicy)
CfnDestinationProps.getDestinationPolicy()destinationPolicy - An IAM policy document that governs which AWS accounts can create subscription filters against this destination. This parameter is required.this@Stability(value=Stable) public CfnDestinationProps.Builder roleArn(String roleArn)
CfnDestinationProps.getRoleArn()roleArn - The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource. This parameter is required.this@Stability(value=Stable) public CfnDestinationProps.Builder targetArn(String targetArn)
CfnDestinationProps.getTargetArn()targetArn - The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream). This parameter is required.this@Stability(value=Stable) public CfnDestinationProps build()
build in interface software.amazon.jsii.Builder<CfnDestinationProps>CfnDestinationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.