Class: AWSCDK::AppStream::CfnApplicationEntitlementAssociationProps

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

Overview

Properties for defining a CfnApplicationEntitlementAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_identifier:, entitlement_name:, stack_name:) ⇒ CfnApplicationEntitlementAssociationProps

Returns a new instance of CfnApplicationEntitlementAssociationProps.

Parameters:

  • application_identifier (String)

    The identifier of the application.

  • entitlement_name (String)

    The name of the entitlement.

  • stack_name (String)

    The name of the stack.



12
13
14
15
16
17
18
19
# File 'app_stream/cfn_application_entitlement_association_props.rb', line 12

def initialize(application_identifier:, entitlement_name:, stack_name:)
  @application_identifier = application_identifier
  Jsii::Type.check_type(@application_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationIdentifier")
  @entitlement_name = entitlement_name
  Jsii::Type.check_type(@entitlement_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "entitlementName")
  @stack_name = stack_name
  Jsii::Type.check_type(@stack_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stackName")
end

Instance Attribute Details

#application_identifierString (readonly)

The identifier of the application.



25
26
27
# File 'app_stream/cfn_application_entitlement_association_props.rb', line 25

def application_identifier
  @application_identifier
end

#entitlement_nameString (readonly)

The name of the entitlement.



30
31
32
# File 'app_stream/cfn_application_entitlement_association_props.rb', line 30

def entitlement_name
  @entitlement_name
end

#stack_nameString (readonly)

The name of the stack.



35
36
37
# File 'app_stream/cfn_application_entitlement_association_props.rb', line 35

def stack_name
  @stack_name
end

Class Method Details

.jsii_propertiesObject



37
38
39
40
41
42
43
# File 'app_stream/cfn_application_entitlement_association_props.rb', line 37

def self.jsii_properties
  {
    :application_identifier => "applicationIdentifier",
    :entitlement_name => "entitlementName",
    :stack_name => "stackName",
  }
end

Instance Method Details

#to_jsiiObject



45
46
47
48
49
50
51
52
53
# File 'app_stream/cfn_application_entitlement_association_props.rb', line 45

def to_jsii
  result = {}
  result.merge!({
    "applicationIdentifier" => @application_identifier,
    "entitlementName" => @entitlement_name,
    "stackName" => @stack_name,
  })
  result.compact
end