Class CfnDeliverySourcePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnDeliverySourcePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliverySourcePropsMixin>
- Enclosing class:
CfnDeliverySourcePropsMixin
@Stability(Stable)
public static final class CfnDeliverySourcePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliverySourcePropsMixin>
A fluent builder for
CfnDeliverySourcePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deliverySourceConfiguration(Map<String, String> deliverySourceConfiguration) A map of key-value pairs to configure the delivery source.deliverySourceConfiguration(IResolvable deliverySourceConfiguration) A map of key-value pairs to configure the delivery source.The type of log that the source is sending.The unique name of the delivery source.resourceArn(String resourceArn) The ARN of the AWS resource that is generating and sending logs.An array of key-value pairs to apply to the delivery source.
-
Method Details
-
create
@Stability(Stable) public static CfnDeliverySourcePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDeliverySourcePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDeliverySourcePropsMixin.Builder.
-
deliverySourceConfiguration
@Stability(Stable) public CfnDeliverySourcePropsMixin.Builder deliverySourceConfiguration(IResolvable deliverySourceConfiguration) A map of key-value pairs to configure the delivery source.Both keys and values must be between 1 and 255 characters in length.
- Parameters:
deliverySourceConfiguration- A map of key-value pairs to configure the delivery source. This parameter is required.- Returns:
this- See Also:
-
deliverySourceConfiguration
@Stability(Stable) public CfnDeliverySourcePropsMixin.Builder deliverySourceConfiguration(Map<String, String> deliverySourceConfiguration) A map of key-value pairs to configure the delivery source.Both keys and values must be between 1 and 255 characters in length.
- Parameters:
deliverySourceConfiguration- A map of key-value pairs to configure the delivery source. This parameter is required.- Returns:
this- See Also:
-
logType
The type of log that the source is sending.For valid values for this parameter, see the documentation for the source service.
- Parameters:
logType- The type of log that the source is sending. This parameter is required.- Returns:
this- See Also:
-
name
The unique name of the delivery source.- Parameters:
name- The unique name of the delivery source. This parameter is required.- Returns:
this- See Also:
-
resourceArn
The ARN of the AWS resource that is generating and sending logs.For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234- Parameters:
resourceArn- The ARN of the AWS resource that is generating and sending logs. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to the delivery source.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to the delivery source. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliverySourcePropsMixin>- Returns:
- a newly built instance of
CfnDeliverySourcePropsMixin.
-