Class: AWSCDK::DMS::CfnEndpoint::DynamoDBSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DMS::CfnEndpoint::DynamoDBSettingsProperty
- Defined in:
- dms/cfn_endpoint.rb
Overview
Provides information, including the Amazon Resource Name (ARN) of the IAM role used to define an Amazon DynamoDB target endpoint.
This information also 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 Using object mapping to migrate data to DynamoDB in the AWS Database Migration Service User Guide .
Instance Attribute Summary collapse
-
#service_access_role_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) used by the service to access the IAM role.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(service_access_role_arn: nil) ⇒ DynamoDBSettingsProperty
constructor
A new instance of DynamoDBSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(service_access_role_arn: nil) ⇒ DynamoDBSettingsProperty
Returns a new instance of DynamoDBSettingsProperty.
1038 1039 1040 1041 |
# File 'dms/cfn_endpoint.rb', line 1038 def initialize(service_access_role_arn: nil) @service_access_role_arn = service_access_role_arn Jsii::Type.check_type(@service_access_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceAccessRoleArn") unless @service_access_role_arn.nil? end |
Instance Attribute Details
#service_access_role_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) used by the service to access the IAM role.
The role must allow the iam:PassRole action.
1049 1050 1051 |
# File 'dms/cfn_endpoint.rb', line 1049 def service_access_role_arn @service_access_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
1051 1052 1053 1054 1055 |
# File 'dms/cfn_endpoint.rb', line 1051 def self.jsii_properties { :service_access_role_arn => "serviceAccessRoleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1057 1058 1059 1060 1061 1062 1063 |
# File 'dms/cfn_endpoint.rb', line 1057 def to_jsii result = {} result.merge!({ "serviceAccessRoleArn" => @service_access_role_arn, }) result.compact end |