Class: AWSCDK::SSM::CfnAssociation::InstanceAssociationOutputLocationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssm/cfn_association.rb

Overview

InstanceAssociationOutputLocation 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.

For the minimal permissions required to enable Amazon S3 output for an association, see Creating associations in the Systems Manager User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_location: nil) ⇒ InstanceAssociationOutputLocationProperty

Returns a new instance of InstanceAssociationOutputLocationProperty.

Parameters:



769
770
771
772
# File 'ssm/cfn_association.rb', line 769

def initialize(s3_location: nil)
  @s3_location = s3_location.is_a?(Hash) ? ::AWSCDK::SSM::CfnAssociation::S3OutputLocationProperty.new(**s3_location.transform_keys(&:to_sym)) : s3_location
  Jsii::Type.check_type(@s3_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zc20uQ2ZuQXNzb2NpYXRpb24uUzNPdXRwdXRMb2NhdGlvblByb3BlcnR5In1dfX0=")), "s3Location") unless @s3_location.nil?
end

Instance Attribute Details

#s3_locationAWSCDK::IResolvable, ... (readonly)

S3OutputLocation is a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.



778
779
780
# File 'ssm/cfn_association.rb', line 778

def s3_location
  @s3_location
end

Class Method Details

.jsii_propertiesObject



780
781
782
783
784
# File 'ssm/cfn_association.rb', line 780

def self.jsii_properties
  {
    :s3_location => "s3Location",
  }
end

Instance Method Details

#to_jsiiObject



786
787
788
789
790
791
792
# File 'ssm/cfn_association.rb', line 786

def to_jsii
  result = {}
  result.merge!({
    "s3Location" => @s3_location,
  })
  result.compact
end