Class: AWSCDK::AppStream::CfnStackFleetAssociationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_stream/cfn_stack_fleet_association_props.rb

Overview

Properties for defining a CfnStackFleetAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fleet_name:, stack_name:) ⇒ CfnStackFleetAssociationProps

Returns a new instance of CfnStackFleetAssociationProps.

Parameters:

  • fleet_name (String)

    The name of the fleet.

  • stack_name (String)

    The name of the stack.



11
12
13
14
15
16
# File 'app_stream/cfn_stack_fleet_association_props.rb', line 11

def initialize(fleet_name:, stack_name:)
  @fleet_name = fleet_name
  Jsii::Type.check_type(@fleet_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fleetName")
  @stack_name = stack_name
  Jsii::Type.check_type(@stack_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stackName")
end

Instance Attribute Details

#fleet_nameString (readonly)

The name of the fleet.

To associate a fleet with a stack, you must specify a dependency on the fleet resource. For more information, see DependsOn Attribute .



24
25
26
# File 'app_stream/cfn_stack_fleet_association_props.rb', line 24

def fleet_name
  @fleet_name
end

#stack_nameString (readonly)

The name of the stack.

To associate a fleet with a stack, you must specify a dependency on the stack resource. For more information, see DependsOn Attribute .



31
32
33
# File 'app_stream/cfn_stack_fleet_association_props.rb', line 31

def stack_name
  @stack_name
end

Class Method Details

.jsii_propertiesObject



33
34
35
36
37
38
# File 'app_stream/cfn_stack_fleet_association_props.rb', line 33

def self.jsii_properties
  {
    :fleet_name => "fleetName",
    :stack_name => "stackName",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
# File 'app_stream/cfn_stack_fleet_association_props.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "fleetName" => @fleet_name,
    "stackName" => @stack_name,
  })
  result.compact
end