Class: AWSCDK::MSK::CfnCluster::ConfigurationInfoProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
msk/cfn_cluster.rb

Overview

Specifies the configuration to use for the brokers.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn:, revision:) ⇒ ConfigurationInfoProperty

Returns a new instance of ConfigurationInfoProperty.

Parameters:

  • arn (String)

    ARN of the configuration to use.

  • revision (Numeric)

    The revision of the configuration to use.



966
967
968
969
970
971
# File 'msk/cfn_cluster.rb', line 966

def initialize(arn:, revision:)
  @arn = arn
  Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn")
  @revision = revision
  Jsii::Type.check_type(@revision, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "revision")
end

Instance Attribute Details

#arnString (readonly)

ARN of the configuration to use.



977
978
979
# File 'msk/cfn_cluster.rb', line 977

def arn
  @arn
end

#revisionNumeric (readonly)

The revision of the configuration to use.



982
983
984
# File 'msk/cfn_cluster.rb', line 982

def revision
  @revision
end

Class Method Details

.jsii_propertiesObject



984
985
986
987
988
989
# File 'msk/cfn_cluster.rb', line 984

def self.jsii_properties
  {
    :arn => "arn",
    :revision => "revision",
  }
end

Instance Method Details

#to_jsiiObject



991
992
993
994
995
996
997
998
# File 'msk/cfn_cluster.rb', line 991

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