Class: AWSCDK::GameLiftStreams::CfnStreamGroup::DefaultApplicationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil, id: nil) ⇒ DefaultApplicationProperty

Returns a new instance of DefaultApplicationProperty.

Parameters:

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

    An Amazon Resource Name (ARN) that uniquely identifies the application resource. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6 .

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

    An ID that uniquely identifies the application resource.



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

#arnString? (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

#idString? (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_propertiesObject



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_jsiiObject



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