Class: AWSCDK::SSM::CfnAssociation::S3OutputLocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSM::CfnAssociation::S3OutputLocationProperty
- Defined in:
- ssm/cfn_association.rb
Overview
S3OutputLocation is a property of the AWS::SSM::Association resource that specifies an Amazon S3 bucket where you want to store the results of this association request.
Instance Attribute Summary collapse
-
#output_s3_bucket_name ⇒ String?
readonly
The name of the S3 bucket.
-
#output_s3_key_prefix ⇒ String?
readonly
The S3 bucket subfolder.
-
#output_s3_region ⇒ String?
readonly
The AWS Region of the S3 bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(output_s3_bucket_name: nil, output_s3_key_prefix: nil, output_s3_region: nil) ⇒ S3OutputLocationProperty
constructor
A new instance of S3OutputLocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(output_s3_bucket_name: nil, output_s3_key_prefix: nil, output_s3_region: nil) ⇒ S3OutputLocationProperty
Returns a new instance of S3OutputLocationProperty.
804 805 806 807 808 809 810 811 |
# File 'ssm/cfn_association.rb', line 804 def initialize(output_s3_bucket_name: nil, output_s3_key_prefix: nil, output_s3_region: nil) @output_s3_bucket_name = output_s3_bucket_name Jsii::Type.check_type(@output_s3_bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputS3BucketName") unless @output_s3_bucket_name.nil? @output_s3_key_prefix = output_s3_key_prefix Jsii::Type.check_type(@output_s3_key_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputS3KeyPrefix") unless @output_s3_key_prefix.nil? @output_s3_region = output_s3_region Jsii::Type.check_type(@output_s3_region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputS3Region") unless @output_s3_region.nil? end |
Instance Attribute Details
#output_s3_bucket_name ⇒ String? (readonly)
The name of the S3 bucket.
817 818 819 |
# File 'ssm/cfn_association.rb', line 817 def output_s3_bucket_name @output_s3_bucket_name end |
#output_s3_key_prefix ⇒ String? (readonly)
The S3 bucket subfolder.
822 823 824 |
# File 'ssm/cfn_association.rb', line 822 def output_s3_key_prefix @output_s3_key_prefix end |
#output_s3_region ⇒ String? (readonly)
The AWS Region of the S3 bucket.
827 828 829 |
# File 'ssm/cfn_association.rb', line 827 def output_s3_region @output_s3_region end |
Class Method Details
.jsii_properties ⇒ Object
829 830 831 832 833 834 835 |
# File 'ssm/cfn_association.rb', line 829 def self.jsii_properties { :output_s3_bucket_name => "outputS3BucketName", :output_s3_key_prefix => "outputS3KeyPrefix", :output_s3_region => "outputS3Region", } end |
Instance Method Details
#to_jsii ⇒ Object
837 838 839 840 841 842 843 844 845 |
# File 'ssm/cfn_association.rb', line 837 def to_jsii result = {} result.merge!({ "outputS3BucketName" => @output_s3_bucket_name, "outputS3KeyPrefix" => @output_s3_key_prefix, "outputS3Region" => @output_s3_region, }) result.compact end |