Class CfnDeliveryDestinationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnDeliveryDestinationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryDestinationPropsMixin>
- Enclosing class:
CfnDeliveryDestinationPropsMixin
@Stability(Stable)
public static final class CfnDeliveryDestinationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryDestinationPropsMixin>
A fluent builder for
CfnDeliveryDestinationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deliveryDestinationPolicy(CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty deliveryDestinationPolicy) An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.deliveryDestinationPolicy(IResolvable deliveryDestinationPolicy) An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.deliveryDestinationType(String deliveryDestinationType) Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.destinationResourceArn(String destinationResourceArn) The ARN of the AWS destination that this delivery destination represents.The name of this delivery destination.outputFormat(String outputFormat) The format of the logs that are sent to this delivery destination.An array of key-value pairs to apply to the delivery destination.
-
Method Details
-
create
@Stability(Stable) public static CfnDeliveryDestinationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDeliveryDestinationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDeliveryDestinationPropsMixin.Builder.
-
deliveryDestinationPolicy
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.Builder deliveryDestinationPolicy(IResolvable deliveryDestinationPolicy) An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.For examples of this policy, see Examples in the CloudWatch Logs API Reference.
- Parameters:
deliveryDestinationPolicy- An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. This parameter is required.- Returns:
this- See Also:
-
deliveryDestinationPolicy
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.Builder deliveryDestinationPolicy(CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty deliveryDestinationPolicy) An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.For examples of this policy, see Examples in the CloudWatch Logs API Reference.
- Parameters:
deliveryDestinationPolicy- An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. This parameter is required.- Returns:
this- See Also:
-
deliveryDestinationType
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.Builder deliveryDestinationType(String deliveryDestinationType) Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.- Parameters:
deliveryDestinationType- Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray. This parameter is required.- Returns:
this- See Also:
-
destinationResourceArn
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.Builder destinationResourceArn(String destinationResourceArn) The ARN of the AWS destination that this delivery destination represents.That AWS destination can be a log group in CloudWatch Logs , an Amazon S3 bucket, or a Firehose stream.
- Parameters:
destinationResourceArn- The ARN of the AWS destination that this delivery destination represents. This parameter is required.- Returns:
this- See Also:
-
name
The name of this delivery destination.- Parameters:
name- The name of this delivery destination. This parameter is required.- Returns:
this- See Also:
-
outputFormat
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.Builder outputFormat(String outputFormat) The format of the logs that are sent to this delivery destination.- Parameters:
outputFormat- The format of the logs that are sent to this delivery destination. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.Builder tags(List<? extends CfnTag> tags) An array of key-value pairs to apply to the delivery destination.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to the delivery destination. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryDestinationPropsMixin>- Returns:
- a newly built instance of
CfnDeliveryDestinationPropsMixin.
-