Class: AWSCDK::DMS::CfnEndpoint::SybaseSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DMS::CfnEndpoint::SybaseSettingsProperty
- Defined in:
- dms/cfn_endpoint.rb
Overview
Provides information that defines a SAP ASE endpoint.
This information includes the output format of records applied to the endpoint and details of transaction and control table data information. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for AWS DMS and Extra connection attributes when using SAP ASE as a target for AWS DMS in the AWS Database Migration Service User Guide .
Instance Attribute Summary collapse
-
#secrets_manager_access_role_arn ⇒ String?
readonly
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 in
SecretsManagerSecret. -
#secrets_manager_secret_id ⇒ String?
readonly
The full ARN, partial ARN, or display name of the
SecretsManagerSecretthat contains the SAP SAE endpoint connection details.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(secrets_manager_access_role_arn: nil, secrets_manager_secret_id: nil) ⇒ SybaseSettingsProperty
constructor
A new instance of SybaseSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(secrets_manager_access_role_arn: nil, secrets_manager_secret_id: nil) ⇒ SybaseSettingsProperty
Returns a new instance of SybaseSettingsProperty.
4197 4198 4199 4200 4201 4202 |
# File 'dms/cfn_endpoint.rb', line 4197 def initialize(secrets_manager_access_role_arn: nil, secrets_manager_secret_id: nil) @secrets_manager_access_role_arn = secrets_manager_access_role_arn Jsii::Type.check_type(@secrets_manager_access_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretsManagerAccessRoleArn") unless @secrets_manager_access_role_arn.nil? @secrets_manager_secret_id = secrets_manager_secret_id Jsii::Type.check_type(@secrets_manager_secret_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretsManagerSecretId") unless @secrets_manager_secret_id.nil? end |
Instance Attribute Details
#secrets_manager_access_role_arn ⇒ String? (readonly)
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 in SecretsManagerSecret .
The role must allow the iam:PassRole action. SecretsManagerSecret has 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 .
4214 4215 4216 |
# File 'dms/cfn_endpoint.rb', line 4214 def secrets_manager_access_role_arn @secrets_manager_access_role_arn end |
#secrets_manager_secret_id ⇒ String? (readonly)
The full ARN, partial ARN, or display name of the SecretsManagerSecret that contains the SAP SAE endpoint connection details.
4219 4220 4221 |
# File 'dms/cfn_endpoint.rb', line 4219 def secrets_manager_secret_id @secrets_manager_secret_id end |
Class Method Details
.jsii_properties ⇒ Object
4221 4222 4223 4224 4225 4226 |
# File 'dms/cfn_endpoint.rb', line 4221 def self.jsii_properties { :secrets_manager_access_role_arn => "secretsManagerAccessRoleArn", :secrets_manager_secret_id => "secretsManagerSecretId", } end |
Instance Method Details
#to_jsii ⇒ Object
4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'dms/cfn_endpoint.rb', line 4228 def to_jsii result = {} result.merge!({ "secretsManagerAccessRoleArn" => @secrets_manager_access_role_arn, "secretsManagerSecretId" => @secrets_manager_secret_id, }) result.compact end |