Class CfnEndpointPropsMixin.SybaseSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin.SybaseSettingsProperty>
- Enclosing interface:
CfnEndpointPropsMixin.SybaseSettingsProperty
CfnEndpointPropsMixin.SybaseSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.secretsManagerAccessRoleArn(String secretsManagerAccessRoleArn) secretsManagerSecretId(String secretsManagerSecretId) Sets the value ofCfnEndpointPropsMixin.SybaseSettingsProperty.getSecretsManagerSecretId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretsManagerAccessRoleArn
@Stability(Stable) public CfnEndpointPropsMixin.SybaseSettingsProperty.Builder secretsManagerAccessRoleArn(String secretsManagerAccessRoleArn) - Parameters:
secretsManagerAccessRoleArn- The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value inSecretsManagerSecret. The role must allow theiam:PassRoleaction.SecretsManagerSecrethas the value of the AWS Secrets Manager secret that allows access to the SAP ASE endpoint.You can specify one of two sets of values for these permissions. You can specify the values for this setting and
SecretsManagerSecretId. Or you can specify clear-text values forUserName,Password,ServerName, andPort. You can't specify both.For more information on creating this
SecretsManagerSecret, the correspondingSecretsManagerAccessRoleArn, and theSecretsManagerSecretIdthat is required to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide .- Returns:
this
-
secretsManagerSecretId
@Stability(Stable) public CfnEndpointPropsMixin.SybaseSettingsProperty.Builder secretsManagerSecretId(String secretsManagerSecretId) Sets the value ofCfnEndpointPropsMixin.SybaseSettingsProperty.getSecretsManagerSecretId()- Parameters:
secretsManagerSecretId- The full ARN, partial ARN, or display name of theSecretsManagerSecretthat contains the SAP SAE endpoint connection details.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin.SybaseSettingsProperty>- Returns:
- a new instance of
CfnEndpointPropsMixin.SybaseSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-