# CfnSignalMapProps

Properties for defining a `CfnSignalMap`.

Used as props by: [CfnSignalMap](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnSignalMap.html)

- Source: Generated at build time
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
    }
};
```

Golang:

```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

- `cloudWatchAlarmTemplateGroupIdentifiers`: string[] — A cloudwatch alarm template group's identifier.

  Can be either be its id or current name.

- `description`: string — A resource's optional description.

- `discoveryEntryPointArn`: string (required) — A top-level supported Amazon Web Services resource ARN to discover a signal map from.

- `eventBridgeRuleTemplateGroupIdentifiers`: string[] — An eventbridge rule template group's identifier.

  Can be either be its id or current name.

- `forceRediscovery`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — If true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.

- `name`: string (required) — A resource's name.

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

- `tags`: { [key: string]: string } — Represents the tags associated with a resource.
