Class: AWSCDK::Interfaces::AWSMedialive::InputSecurityGroupReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSMedialive::InputSecurityGroupReference
- Defined in:
- interfaces/aws_medialive/input_security_group_reference.rb
Overview
A reference to a InputSecurityGroup resource.
Instance Attribute Summary collapse
-
#input_security_group_arn ⇒ String
readonly
The ARN of the InputSecurityGroup resource.
-
#input_security_group_id ⇒ String
readonly
The Id of the InputSecurityGroup resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_security_group_arn:, input_security_group_id:) ⇒ InputSecurityGroupReference
constructor
A new instance of InputSecurityGroupReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_security_group_arn:, input_security_group_id:) ⇒ InputSecurityGroupReference
Returns a new instance of InputSecurityGroupReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_medialive/input_security_group_reference.rb', line 9 def initialize(input_security_group_arn:, input_security_group_id:) @input_security_group_arn = input_security_group_arn Jsii::Type.check_type(@input_security_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputSecurityGroupArn") @input_security_group_id = input_security_group_id Jsii::Type.check_type(@input_security_group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputSecurityGroupId") end |
Instance Attribute Details
#input_security_group_arn ⇒ String (readonly)
The ARN of the InputSecurityGroup resource.
19 20 21 |
# File 'interfaces/aws_medialive/input_security_group_reference.rb', line 19 def input_security_group_arn @input_security_group_arn end |
#input_security_group_id ⇒ String (readonly)
The Id of the InputSecurityGroup resource.
23 24 25 |
# File 'interfaces/aws_medialive/input_security_group_reference.rb', line 23 def input_security_group_id @input_security_group_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_medialive/input_security_group_reference.rb', line 25 def self.jsii_properties { :input_security_group_arn => "inputSecurityGroupArn", :input_security_group_id => "inputSecurityGroupId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_medialive/input_security_group_reference.rb', line 32 def to_jsii result = {} result.merge!({ "inputSecurityGroupArn" => @input_security_group_arn, "inputSecurityGroupId" => @input_security_group_id, }) result.compact end |