Class: AWSCDK::Interfaces::AWSAppstream::ApplicationEntitlementAssociationReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_appstream/application_entitlement_association_reference.rb

Overview

A reference to a ApplicationEntitlementAssociation resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ApplicationEntitlementAssociationReference.

Parameters:

  • application_identifier (String)

    The ApplicationIdentifier of the ApplicationEntitlementAssociation resource.

  • entitlement_name (String)

    The EntitlementName of the ApplicationEntitlementAssociation resource.

  • stack_name (String)

    The StackName of the ApplicationEntitlementAssociation resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_appstream/application_entitlement_association_reference.rb', line 10

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 ApplicationIdentifier of the ApplicationEntitlementAssociation resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_appstream/application_entitlement_association_reference.rb', line 22

def application_identifier
  @application_identifier
end

#entitlement_nameString (readonly)

The EntitlementName of the ApplicationEntitlementAssociation resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_appstream/application_entitlement_association_reference.rb', line 26

def entitlement_name
  @entitlement_name
end

#stack_nameString (readonly)

The StackName of the ApplicationEntitlementAssociation resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_appstream/application_entitlement_association_reference.rb', line 30

def stack_name
  @stack_name
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'interfaces/aws_appstream/application_entitlement_association_reference.rb', line 32

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

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_appstream/application_entitlement_association_reference.rb', line 40

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