Class: AWSCDK::MSK::CfnCluster::PublicAccessProperty

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

Overview

Broker access controls.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil) ⇒ PublicAccessProperty

Returns a new instance of PublicAccessProperty.

Parameters:

  • type (String, nil) (defaults to: nil)

    DISABLED means that public access is turned off.



1535
1536
1537
1538
# File 'msk/cfn_cluster.rb', line 1535

def initialize(type: nil)
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil?
end

Instance Attribute Details

#typeString? (readonly)

DISABLED means that public access is turned off.

SERVICE_PROVIDED_EIPS means that public access is turned on.



1546
1547
1548
# File 'msk/cfn_cluster.rb', line 1546

def type
  @type
end

Class Method Details

.jsii_propertiesObject



1548
1549
1550
1551
1552
# File 'msk/cfn_cluster.rb', line 1548

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

Instance Method Details

#to_jsiiObject



1554
1555
1556
1557
1558
1559
1560
# File 'msk/cfn_cluster.rb', line 1554

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