Skip to main content

signal_maps

Creates, updates, deletes or gets a signal_map resource or lists signal_maps in a region

Overview

Namesignal_maps
TypeResource
DescriptionDefinition of AWS::MediaLive::SignalMap Resource Type
Idawscc.medialive.signal_maps

Fields

NameDatatypeDescription
arnstringA signal map's ARN (Amazon Resource Name)
cloud_watch_alarm_template_group_identifiersarray
cloud_watch_alarm_template_group_idsarray
created_atstring
descriptionstringA resource's optional description.
discovery_entry_point_arnstringA top-level supported AWS resource ARN to discovery a signal map from.
error_messagestringError message associated with a failed creation or failed update attempt of a signal map.
event_bridge_rule_template_group_identifiersarray
event_bridge_rule_template_group_idsarray
failed_media_resource_mapobjectA map representing an incomplete AWS media workflow as a graph.
force_rediscoverybooleanIf true, will force a rediscovery of a signal map if an unchanged discoveryEntryPointArn is provided.
idstringA signal map's id.
identifierstring
last_discovered_atstring
last_successful_monitor_deploymentobjectRepresents the latest successful monitor deployment of a signal map.
media_resource_mapobjectA map representing an AWS media workflow as a graph.
modified_atstring
monitor_changes_pending_deploymentbooleanIf true, there are pending monitor changes for this signal map that can be deployed.
monitor_deploymentobjectRepresents the latest monitor deployment of a signal map.
namestringA resource's name. Names must be unique within the scope of a resource type in a specific region.
statusstringA signal map's current status which is dependent on its lifecycle actions or associated jobs.
tagsobjectRepresents the tags associated with a resource.
regionstringAWS region.

For more information, see AWS::MediaLive::SignalMap.

Methods

NameResourceAccessible byRequired Params
create_resourcesignal_mapsINSERTDiscoveryEntryPointArn, Name, region
delete_resourcesignal_mapsDELETEIdentifier, region
update_resourcesignal_mapsUPDATEIdentifier, PatchDocument, region
list_resourcessignal_maps_list_onlySELECTregion
get_resourcesignal_mapsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual signal_map.

SELECT
region,
arn,
cloud_watch_alarm_template_group_identifiers,
cloud_watch_alarm_template_group_ids,
created_at,
description,
discovery_entry_point_arn,
error_message,
event_bridge_rule_template_group_identifiers,
event_bridge_rule_template_group_ids,
failed_media_resource_map,
force_rediscovery,
id,
identifier,
last_discovered_at,
last_successful_monitor_deployment,
media_resource_map,
modified_at,
monitor_changes_pending_deployment,
monitor_deployment,
name,
status,
tags
FROM awscc.medialive.signal_maps
WHERE
region = '{{ region }}' AND
Identifier = '{{ identifier }}';

INSERT example

Use the following StackQL query and manifest file to create a new signal_map resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.medialive.signal_maps (
DiscoveryEntryPointArn,
Name,
region
)
SELECT
'{{ discovery_entry_point_arn }}',
'{{ name }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

UPDATE example

Use the following StackQL query and manifest file to update a signal_map resource, using stack-deploy.

/*+ update */
UPDATE awscc.medialive.signal_maps
SET PatchDocument = string('{{ {
"CloudWatchAlarmTemplateGroupIdentifiers": cloud_watch_alarm_template_group_identifiers,
"Description": description,
"DiscoveryEntryPointArn": discovery_entry_point_arn,
"EventBridgeRuleTemplateGroupIdentifiers": event_bridge_rule_template_group_identifiers,
"ForceRediscovery": force_rediscovery,
"Name": name
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ identifier }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.medialive.signal_maps
WHERE
Identifier = '{{ identifier }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

To operate on the signal_maps resource, the following permissions are required:

medialive:CreateSignalMap,
medialive:GetSignalMap,
medialive:CreateTags,
medialive:DescribeChannel,
medialive:DescribeInput,
medialive:DescribeInputDevice,
medialive:DescribeInputSecurityGroup,
medialive:DescribeMultiplex,
medialive:DescribeMultiplexProgram,
medialive:ListChannels,
medialive:ListInputDevices,
medialive:ListInputSecurityGroups,
medialive:ListInputs,
medialive:ListMultiplexPrograms,
medialive:ListMultiplexes,
medialive:ListOfferings,
medialive:ListReservations,
medialive:ListTagsForResource,
cloudfront:ListDistributions,
cloudfront:GetDistribution,
ec2:DescribeNetworkInterfaces,
mediaconnect:ListEntitlements,
mediaconnect:ListFlows,
mediaconnect:ListOfferings,
mediaconnect:ListReservations,
mediaconnect:DescribeFlow,
mediapackage:ListChannels,
mediapackage:ListOriginEndpoints,
mediapackage:DescribeChannel,
mediapackage:DescribeOriginEndpoint,
mediapackagev2:ListChannelGroups,
mediapackagev2:ListChannels,
mediapackagev2:ListOriginEndpoints,
mediapackagev2:GetChannelGroup,
mediapackagev2:GetChannel,
mediapackagev2:GetOriginEndpoint,
tag:GetResources