Class: AWSCDK::Datasync::CfnLocationS3::S3ConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationS3::S3ConfigProperty
- Defined in:
- datasync/cfn_location_s3.rb
Overview
Specifies the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Providing DataSync access to S3 buckets .
Instance Attribute Summary collapse
-
#bucket_access_role_arn ⇒ String
readonly
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_access_role_arn:) ⇒ S3ConfigProperty
constructor
A new instance of S3ConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_access_role_arn:) ⇒ S3ConfigProperty
Returns a new instance of S3ConfigProperty.
575 576 577 578 |
# File 'datasync/cfn_location_s3.rb', line 575 def initialize(bucket_access_role_arn:) @bucket_access_role_arn = bucket_access_role_arn Jsii::Type.check_type(@bucket_access_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketAccessRoleArn") end |
Instance Attribute Details
#bucket_access_role_arn ⇒ String (readonly)
Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
584 585 586 |
# File 'datasync/cfn_location_s3.rb', line 584 def bucket_access_role_arn @bucket_access_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
586 587 588 589 590 |
# File 'datasync/cfn_location_s3.rb', line 586 def self.jsii_properties { :bucket_access_role_arn => "bucketAccessRoleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
592 593 594 595 596 597 598 |
# File 'datasync/cfn_location_s3.rb', line 592 def to_jsii result = {} result.merge!({ "bucketAccessRoleArn" => @bucket_access_role_arn, }) result.compact end |