Class: AWSCDK::MSK::CfnCluster::PublicAccessProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::PublicAccessProperty
- Defined in:
- msk/cfn_cluster.rb
Overview
Broker access controls.
Instance Attribute Summary collapse
-
#type ⇒ String?
readonly
DISABLED means that public access is turned off.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil) ⇒ PublicAccessProperty
constructor
A new instance of PublicAccessProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil) ⇒ PublicAccessProperty
Returns a new instance of PublicAccessProperty.
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
#type ⇒ String? (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_properties ⇒ Object
1548 1549 1550 1551 1552 |
# File 'msk/cfn_cluster.rb', line 1548 def self.jsii_properties { :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |