Class: AWSCDK::Interfaces::AWSMedialive::ChannelPlacementGroupReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_medialive/channel_placement_group_reference.rb

Overview

A reference to a ChannelPlacementGroup resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel_placement_group_arn:, channel_placement_group_id:, cluster_id:) ⇒ ChannelPlacementGroupReference

Returns a new instance of ChannelPlacementGroupReference.

Parameters:

  • channel_placement_group_arn (String)

    The ARN of the ChannelPlacementGroup resource.

  • channel_placement_group_id (String)

    The Id of the ChannelPlacementGroup resource.

  • cluster_id (String)

    The ClusterId of the ChannelPlacementGroup resource.



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

def initialize(channel_placement_group_arn:, channel_placement_group_id:, cluster_id:)
  @channel_placement_group_arn = channel_placement_group_arn
  Jsii::Type.check_type(@channel_placement_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelPlacementGroupArn")
  @channel_placement_group_id = channel_placement_group_id
  Jsii::Type.check_type(@channel_placement_group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelPlacementGroupId")
  @cluster_id = cluster_id
  Jsii::Type.check_type(@cluster_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterId")
end

Instance Attribute Details

#channel_placement_group_arnString (readonly)

The ARN of the ChannelPlacementGroup resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_medialive/channel_placement_group_reference.rb', line 22

def channel_placement_group_arn
  @channel_placement_group_arn
end

#channel_placement_group_idString (readonly)

The Id of the ChannelPlacementGroup resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_medialive/channel_placement_group_reference.rb', line 26

def channel_placement_group_id
  @channel_placement_group_id
end

#cluster_idString (readonly)

The ClusterId of the ChannelPlacementGroup resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_medialive/channel_placement_group_reference.rb', line 30

def cluster_id
  @cluster_id
end

Class Method Details

.jsii_propertiesObject



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

def self.jsii_properties
  {
    :channel_placement_group_arn => "channelPlacementGroupArn",
    :channel_placement_group_id => "channelPlacementGroupId",
    :cluster_id => "clusterId",
  }
end

Instance Method Details

#to_jsiiObject



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

def to_jsii
  result = {}
  result.merge!({
    "channelPlacementGroupArn" => @channel_placement_group_arn,
    "channelPlacementGroupId" => @channel_placement_group_id,
    "clusterId" => @cluster_id,
  })
  result.compact
end