Class: AWSCDK::GameLiftStreams::CfnStreamGroup::DefaultApplicationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GameLiftStreams::CfnStreamGroup::DefaultApplicationProperty
- Defined in:
- game_lift_streams/cfn_stream_group.rb
Overview
Represents the default Amazon GameLift Streams application that a stream group hosts.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
An Amazon Resource Name (ARN) that uniquely identifies the application resource.
-
#id ⇒ String?
readonly
An ID that uniquely identifies the application resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil, id: nil) ⇒ DefaultApplicationProperty
constructor
A new instance of DefaultApplicationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil, id: nil) ⇒ DefaultApplicationProperty
Returns a new instance of DefaultApplicationProperty.
591 592 593 594 595 596 |
# File 'game_lift_streams/cfn_stream_group.rb', line 591 def initialize(arn: nil, id: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") unless @id.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
An Amazon Resource Name (ARN) that uniquely identifies the application resource. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6 .
602 603 604 |
# File 'game_lift_streams/cfn_stream_group.rb', line 602 def arn @arn end |
#id ⇒ String? (readonly)
An ID that uniquely identifies the application resource.
Example ID: a-9ZY8X7Wv6 .
609 610 611 |
# File 'game_lift_streams/cfn_stream_group.rb', line 609 def id @id end |
Class Method Details
.jsii_properties ⇒ Object
611 612 613 614 615 616 |
# File 'game_lift_streams/cfn_stream_group.rb', line 611 def self.jsii_properties { :arn => "arn", :id => "id", } end |
Instance Method Details
#to_jsii ⇒ Object
618 619 620 621 622 623 624 625 |
# File 'game_lift_streams/cfn_stream_group.rb', line 618 def to_jsii result = {} result.merge!({ "arn" => @arn, "id" => @id, }) result.compact end |