Skip to content
v2.278.0

CfnSignalMapProps Struct ​

Properties for defining a CfnSignalMap.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const cfnSignalMapProps: medialive.CfnSignalMapProps = {
  discoveryEntryPointArn: 'discoveryEntryPointArn',
  name: 'name',

  // the properties below are optional
  cloudWatchAlarmTemplateGroupIdentifiers: ['cloudWatchAlarmTemplateGroupIdentifiers'],
  description: 'description',
  eventBridgeRuleTemplateGroupIdentifiers: ['eventBridgeRuleTemplateGroupIdentifiers'],
  forceRediscovery: false,
  tags: {
    tagsKey: 'tags',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

cfn_signal_map_props = medialive.CfnSignalMapProps(
    discovery_entry_point_arn="discoveryEntryPointArn",
    name="name",

    # the properties below are optional
    cloud_watch_alarm_template_group_identifiers=["cloudWatchAlarmTemplateGroupIdentifiers"],
    description="description",
    event_bridge_rule_template_group_identifiers=["eventBridgeRuleTemplateGroupIdentifiers"],
    force_rediscovery=False,
    tags={
        "tags_key": "tags"
    }
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;

CfnSignalMapProps cfnSignalMapProps = CfnSignalMapProps.builder()
        .discoveryEntryPointArn("discoveryEntryPointArn")
        .name("name")

        // the properties below are optional
        .cloudWatchAlarmTemplateGroupIdentifiers(List.of("cloudWatchAlarmTemplateGroupIdentifiers"))
        .description("description")
        .eventBridgeRuleTemplateGroupIdentifiers(List.of("eventBridgeRuleTemplateGroupIdentifiers"))
        .forceRediscovery(false)
        .tags(Map.of(
                "tagsKey", "tags"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var cfnSignalMapProps = new CfnSignalMapProps {
    DiscoveryEntryPointArn = "discoveryEntryPointArn",
    Name = "name",

    // the properties below are optional
    CloudWatchAlarmTemplateGroupIdentifiers = new [] { "cloudWatchAlarmTemplateGroupIdentifiers" },
    Description = "description",
    EventBridgeRuleTemplateGroupIdentifiers = new [] { "eventBridgeRuleTemplateGroupIdentifiers" },
    ForceRediscovery = false,
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnSignalMapProps := &CfnSignalMapProps{
	DiscoveryEntryPointArn: jsii.String("discoveryEntryPointArn"),
	Name: jsii.String("name"),

	// the properties below are optional
	CloudWatchAlarmTemplateGroupIdentifiers: []*string{
		jsii.String("cloudWatchAlarmTemplateGroupIdentifiers"),
	},
	Description: jsii.String("description"),
	EventBridgeRuleTemplateGroupIdentifiers: []*string{
		jsii.String("eventBridgeRuleTemplateGroupIdentifiers"),
	},
	ForceRediscovery: jsii.Boolean(false),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

Properties ​

cloudWatchAlarmTemplateGroupIdentifiersoptionalstring[]cloud_watch_alarm_template_group_identifiersoptionaltyping.List[str]cloudWatchAlarmTemplateGroupIdentifiersoptionalList<String>CloudWatchAlarmTemplateGroupIdentifiersoptionalstring[]CloudWatchAlarmTemplateGroupIdentifiersoptional*[]*string #
A cloudwatch alarm template group's identifier.

Can be either be its id or current name.

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
A resource's optional description.
discoveryEntryPointArnstringdiscovery_entry_point_arnstrdiscoveryEntryPointArnStringDiscoveryEntryPointArnstringDiscoveryEntryPointArn*string required #
A top-level supported Amazon Web Services resource ARN to discover a signal map from.
eventBridgeRuleTemplateGroupIdentifiersoptionalstring[]event_bridge_rule_template_group_identifiersoptionaltyping.List[str]eventBridgeRuleTemplateGroupIdentifiersoptionalList<String>EventBridgeRuleTemplateGroupIdentifiersoptionalstring[]EventBridgeRuleTemplateGroupIdentifiersoptional*[]*string #
An eventbridge rule template group's identifier.

Can be either be its id or current name.

forceRediscoveryoptionalboolean | IResolvableforce_rediscoveryoptionaltyping.Union[bool, IResolvable]forceRediscoveryoptionalBooleanForceRediscoveryoptionalboolForceRediscoveryoptionalinterface{} = false #
If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.
namestringnamestrnameStringNamestringName*string required #
A resource's name.

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

tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #
Represents the tags associated with a resource.