Class: AWSCDK::MediaLive::CfnSignalMapProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_signal_map_props.rb

Overview

Properties for defining a CfnSignalMap.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(discovery_entry_point_arn:, name:, cloud_watch_alarm_template_group_identifiers: nil, description: nil, event_bridge_rule_template_group_identifiers: nil, force_rediscovery: nil, tags: nil) ⇒ CfnSignalMapProps

Returns a new instance of CfnSignalMapProps.

Parameters:

  • discovery_entry_point_arn (String)

    A top-level supported Amazon Web Services resource ARN to discover a signal map from.

  • name (String)

    A resource's name.

  • cloud_watch_alarm_template_group_identifiers (Array<String>, nil) (defaults to: nil)

    A cloudwatch alarm template group's identifier.

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

    A resource's optional description.

  • event_bridge_rule_template_group_identifiers (Array<String>, nil) (defaults to: nil)

    An eventbridge rule template group's identifier.

  • force_rediscovery (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.

  • tags (Hash{String => String}, nil) (defaults to: nil)

    Represents the tags associated with a resource.



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'media_live/cfn_signal_map_props.rb', line 16

def initialize(discovery_entry_point_arn:, name:, cloud_watch_alarm_template_group_identifiers: nil, description: nil, event_bridge_rule_template_group_identifiers: nil, force_rediscovery: nil, tags: nil)
  @discovery_entry_point_arn = discovery_entry_point_arn
  Jsii::Type.check_type(@discovery_entry_point_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "discoveryEntryPointArn")
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @cloud_watch_alarm_template_group_identifiers = cloud_watch_alarm_template_group_identifiers
  Jsii::Type.check_type(@cloud_watch_alarm_template_group_identifiers, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "cloudWatchAlarmTemplateGroupIdentifiers") unless @cloud_watch_alarm_template_group_identifiers.nil?
  @description = description
  Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil?
  @event_bridge_rule_template_group_identifiers = event_bridge_rule_template_group_identifiers
  Jsii::Type.check_type(@event_bridge_rule_template_group_identifiers, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "eventBridgeRuleTemplateGroupIdentifiers") unless @event_bridge_rule_template_group_identifiers.nil?
  @force_rediscovery = force_rediscovery
  Jsii::Type.check_type(@force_rediscovery, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "forceRediscovery") unless @force_rediscovery.nil?
  @tags = tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil?
end

Instance Attribute Details

#cloud_watch_alarm_template_group_identifiersArray<String>? (readonly)

A cloudwatch alarm template group's identifier.

Can be either be its id or current name.



51
52
53
# File 'media_live/cfn_signal_map_props.rb', line 51

def cloud_watch_alarm_template_group_identifiers
  @cloud_watch_alarm_template_group_identifiers
end

#descriptionString? (readonly)

A resource's optional description.



56
57
58
# File 'media_live/cfn_signal_map_props.rb', line 56

def description
  @description
end

#discovery_entry_point_arnString (readonly)

A top-level supported Amazon Web Services resource ARN to discover a signal map from.



37
38
39
# File 'media_live/cfn_signal_map_props.rb', line 37

def discovery_entry_point_arn
  @discovery_entry_point_arn
end

#event_bridge_rule_template_group_identifiersArray<String>? (readonly)

An eventbridge rule template group's identifier.

Can be either be its id or current name.



63
64
65
# File 'media_live/cfn_signal_map_props.rb', line 63

def event_bridge_rule_template_group_identifiers
  @event_bridge_rule_template_group_identifiers
end

#force_rediscoveryBoolean, ... (readonly)

Note:

Default: - false

If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.



69
70
71
# File 'media_live/cfn_signal_map_props.rb', line 69

def force_rediscovery
  @force_rediscovery
end

#nameString (readonly)

A resource's name.

Names must be unique within the scope of a resource type in a specific region.



44
45
46
# File 'media_live/cfn_signal_map_props.rb', line 44

def name
  @name
end

#tagsHash{String => String}? (readonly)

Represents the tags associated with a resource.



74
75
76
# File 'media_live/cfn_signal_map_props.rb', line 74

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



76
77
78
79
80
81
82
83
84
85
86
# File 'media_live/cfn_signal_map_props.rb', line 76

def self.jsii_properties
  {
    :discovery_entry_point_arn => "discoveryEntryPointArn",
    :name => "name",
    :cloud_watch_alarm_template_group_identifiers => "cloudWatchAlarmTemplateGroupIdentifiers",
    :description => "description",
    :event_bridge_rule_template_group_identifiers => "eventBridgeRuleTemplateGroupIdentifiers",
    :force_rediscovery => "forceRediscovery",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'media_live/cfn_signal_map_props.rb', line 88

def to_jsii
  result = {}
  result.merge!({
    "discoveryEntryPointArn" => @discovery_entry_point_arn,
    "name" => @name,
    "cloudWatchAlarmTemplateGroupIdentifiers" => @cloud_watch_alarm_template_group_identifiers,
    "description" => @description,
    "eventBridgeRuleTemplateGroupIdentifiers" => @event_bridge_rule_template_group_identifiers,
    "forceRediscovery" => @force_rediscovery,
    "tags" => @tags,
  })
  result.compact
end