Class CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Specifies whether you want to use the secrets manager feature. When set asTruethe secrets manager configuration overwrites the existing secrets in the destination configuration. When it's set toFalseFirehose falls back to the credentials in the destination configuration.- Returns:
this
-
enabled
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Specifies whether you want to use the secrets manager feature. When set asTruethe secrets manager configuration overwrites the existing secrets in the destination configuration. When it's set toFalseFirehose falls back to the credentials in the destination configuration.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- Specifies the role that Firehose assumes when calling the Secrets Manager API operation. When you provide the role, it overrides any destination specific role defined in the destination configuration. If you do not provide the then we use the destination specific role. This parameter is required for Splunk.- Returns:
this
-
secretArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty.Builder secretArn(String secretArn) - Parameters:
secretArn- The ARN of the secret that stores your credentials. It must be in the same region as the Firehose stream and the role. The secret ARN can reside in a different account than the Firehose stream and role as Firehose supports cross-account secret access. This parameter is required when Enabled is set toTrue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-