cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
1,514 lines • 171 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Medialive = void 0;
const shared_1 = require("../../shared");
/**
* Statement provider for service [medialive](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalmedialive.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
class Medialive extends shared_1.PolicyStatement {
/**
* Grants permission to accept an input device transfer
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toAcceptInputDeviceTransfer() {
return this.to('AcceptInputDeviceTransfer');
}
/**
* Grants permission to delete channels, inputs, input security groups, and multiplexes
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/editing-deleting-channel.html
*/
toBatchDelete() {
return this.to('BatchDelete');
}
/**
* Grants permission to start channels and multiplexes
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/starting-stopping-deleting-a-channel.html
*/
toBatchStart() {
return this.to('BatchStart');
}
/**
* Grants permission to stop channels and multiplexes
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/starting-stopping-deleting-a-channel.html
*/
toBatchStop() {
return this.to('BatchStop');
}
/**
* Grants permission to add and remove actions from a channel's schedule
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/submitting-batch-command.html
*/
toBatchUpdateSchedule() {
return this.to('BatchUpdateSchedule');
}
/**
* Grants permission to cancel an input device transfer
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toCancelInputDeviceTransfer() {
return this.to('CancelInputDeviceTransfer');
}
/**
* Grants permission to claim an input device
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toClaimDevice() {
return this.to('ClaimDevice');
}
/**
* Grants permission to create a channel
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/creating-channel-scratch.html
*/
toCreateChannel() {
return this.to('CreateChannel');
}
/**
* Grants permission to create a cluster
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toCreateChannelPlacementGroup() {
return this.to('CreateChannelPlacementGroup');
}
/**
* Grants permission to create a cloudwatch alarm template
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms-templates-create.html
*/
toCreateCloudWatchAlarmTemplate() {
return this.to('CreateCloudWatchAlarmTemplate');
}
/**
* Grants permission to create a cloudwatch alarm template group
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms-templates-create.html
*/
toCreateCloudWatchAlarmTemplateGroup() {
return this.to('CreateCloudWatchAlarmTemplateGroup');
}
/**
* Grants permission to create a cluster
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toCreateCluster() {
return this.to('CreateCluster');
}
/**
* Grants permission to create a eventbridge rule template
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications-template-create.html
*/
toCreateEventBridgeRuleTemplate() {
return this.to('CreateEventBridgeRuleTemplate');
}
/**
* Grants permission to create a eventbridge rule template group
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications-template-create.html
*/
toCreateEventBridgeRuleTemplateGroup() {
return this.to('CreateEventBridgeRuleTemplateGroup');
}
/**
* Grants permission to create an input
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/creating-input.html
*/
toCreateInput() {
return this.to('CreateInput');
}
/**
* Grants permission to create an input security group
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/working-with-input-security-groups.html
*/
toCreateInputSecurityGroup() {
return this.to('CreateInputSecurityGroup');
}
/**
* Grants permission to create a multiplex
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/multiplex-create.html
*/
toCreateMultiplex() {
return this.to('CreateMultiplex');
}
/**
* Grants permission to create a multiplex program
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/multiplex-create.html
*/
toCreateMultiplexProgram() {
return this.to('CreateMultiplexProgram');
}
/**
* Grants permission to create a network
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toCreateNetwork() {
return this.to('CreateNetwork');
}
/**
* Grants permission to create a node
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toCreateNode() {
return this.to('CreateNode');
}
/**
* Grants permission to create a node registration script
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toCreateNodeRegistrationScript() {
return this.to('CreateNodeRegistrationScript');
}
/**
* Grants permission to create a partner input
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/input-create-cdi-partners.html
*/
toCreatePartnerInput() {
return this.to('CreatePartnerInput');
}
/**
* Grants permission to create a SDI source
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toCreateSdiSource() {
return this.to('CreateSdiSource');
}
/**
* Grants permission to create a signal map
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-signal-maps-create.html
*/
toCreateSignalMap() {
return this.to('CreateSignalMap');
}
/**
* Grants permission to create tags for channels, inputs, input security groups, multiplexes, reservations, nodes, networks, clusters, channel placement groups, signal maps, SDI sources, template groups, and templates
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
* - .ifAwsRequestTag()
*
* https://docs.aws.amazon.com/medialive/latest/ug/tagging.html
*/
toCreateTags() {
return this.to('CreateTags');
}
/**
* Grants permission to delete a channel
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/editing-deleting-channel.html
*/
toDeleteChannel() {
return this.to('DeleteChannel');
}
/**
* Grants permission to delete a cluster
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toDeleteChannelPlacementGroup() {
return this.to('DeleteChannelPlacementGroup');
}
/**
* Grants permission to delete a cloudwatch alarm template
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms.html
*/
toDeleteCloudWatchAlarmTemplate() {
return this.to('DeleteCloudWatchAlarmTemplate');
}
/**
* Grants permission to delete a cloudwatch alarm template group
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms.html
*/
toDeleteCloudWatchAlarmTemplateGroup() {
return this.to('DeleteCloudWatchAlarmTemplateGroup');
}
/**
* Grants permission to delete a cluster
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toDeleteCluster() {
return this.to('DeleteCluster');
}
/**
* Grants permission to delete a eventbridge rule template
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications.html
*/
toDeleteEventBridgeRuleTemplate() {
return this.to('DeleteEventBridgeRuleTemplate');
}
/**
* Grants permission to delete a eventbridge rule template group
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications.html
*/
toDeleteEventBridgeRuleTemplateGroup() {
return this.to('DeleteEventBridgeRuleTemplateGroup');
}
/**
* Grants permission to delete an input
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/delete-input.html
*/
toDeleteInput() {
return this.to('DeleteInput');
}
/**
* Grants permission to delete an input security group
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/delete-input-security-group.html
*/
toDeleteInputSecurityGroup() {
return this.to('DeleteInputSecurityGroup');
}
/**
* Grants permission to delete a multiplex
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/delete-multiplex-program.html
*/
toDeleteMultiplex() {
return this.to('DeleteMultiplex');
}
/**
* Grants permission to delete a multiplex program
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/delete-multiplex-program.html
*/
toDeleteMultiplexProgram() {
return this.to('DeleteMultiplexProgram');
}
/**
* Grants permission to delete a network
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toDeleteNetwork() {
return this.to('DeleteNetwork');
}
/**
* Grants permission to delete a node
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toDeleteNode() {
return this.to('DeleteNode');
}
/**
* Grants permission to delete an expired reservation
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/deleting-reservations.html
*/
toDeleteReservation() {
return this.to('DeleteReservation');
}
/**
* Grants permission to delete all schedule actions for a channel
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/schedule-using-console-delete.html
*/
toDeleteSchedule() {
return this.to('DeleteSchedule');
}
/**
* Grants permission to delete a SDI source
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toDeleteSdiSource() {
return this.to('DeleteSdiSource');
}
/**
* Grants permission to delete a signal map
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-signal-maps-delete.html
*/
toDeleteSignalMap() {
return this.to('DeleteSignalMap');
}
/**
* Grants permission to delete tags from channels, inputs, input security groups, multiplexes, reservations, nodes, clusters, networks, channel placement groups, SDI source, signal maps, template groups, and templates
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/tagging.html
*/
toDeleteTags() {
return this.to('DeleteTags');
}
/**
* Grants permission to view the account configuration of the customer
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/starting-stopping-deleting-a-channel.html
*/
toDescribeAccountConfiguration() {
return this.to('DescribeAccountConfiguration');
}
/**
* Grants permission to get details about a channel
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/viewing-channel-configuration.html
*/
toDescribeChannel() {
return this.to('DescribeChannel');
}
/**
* Grants permission to describe a channel placement group
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-setup-cl-create.html
*/
toDescribeChannelPlacementGroup() {
return this.to('DescribeChannelPlacementGroup');
}
/**
* Grants permission to describe a cluster
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-setup-cl-create.html
*/
toDescribeCluster() {
return this.to('DescribeCluster');
}
/**
* Grants permission to describe an input
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-input.html
*/
toDescribeInput() {
return this.to('DescribeInput');
}
/**
* Grants permission to describe an input device
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/device-edit.html
*/
toDescribeInputDevice() {
return this.to('DescribeInputDevice');
}
/**
* Grants permission to describe an input device thumbnail
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/device-edit.html
*/
toDescribeInputDeviceThumbnail() {
return this.to('DescribeInputDeviceThumbnail');
}
/**
* Grants permission to describe an input security group
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-input-security-group.html
*/
toDescribeInputSecurityGroup() {
return this.to('DescribeInputSecurityGroup');
}
/**
* Grants permission to describe a multiplex
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-multiplex-program-channel.html
*/
toDescribeMultiplex() {
return this.to('DescribeMultiplex');
}
/**
* Grants permission to describe a multiplex program
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitoring-multiplex-console.html
*/
toDescribeMultiplexProgram() {
return this.to('DescribeMultiplexProgram');
}
/**
* Grants permission to describe a network
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-setup-cl-networks.html
*/
toDescribeNetwork() {
return this.to('DescribeNetwork');
}
/**
* Grants permission to describe a node
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-setup-cl-nodes-create.html
*/
toDescribeNode() {
return this.to('DescribeNode');
}
/**
* Grants permission to get details about a reservation offering
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/purchasing-reservations.html
*/
toDescribeOffering() {
return this.to('DescribeOffering');
}
/**
* Grants permission to get details about a reservation
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/view-reservations.html
*/
toDescribeReservation() {
return this.to('DescribeReservation');
}
/**
* Grants permission to view a list of actions scheduled on a channel
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/schedule-using-console-view.html
*/
toDescribeSchedule() {
return this.to('DescribeSchedule');
}
/**
* Grants permission to describe a SDI source
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-setup-cl-create.html
*/
toDescribeSdiSource() {
return this.to('DescribeSdiSource');
}
/**
* Grants permission to view the thumbnails for a channel
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/starting-stopping-deleting-a-channel.html
*/
toDescribeThumbnails() {
return this.to('DescribeThumbnails');
}
/**
* Grants permission to get a cloudwatch alarm template
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms.html
*/
toGetCloudWatchAlarmTemplate() {
return this.to('GetCloudWatchAlarmTemplate');
}
/**
* Grants permission to get a cloudwatch alarm template group
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms.html
*/
toGetCloudWatchAlarmTemplateGroup() {
return this.to('GetCloudWatchAlarmTemplateGroup');
}
/**
* Grants permission to get a eventbridge rule template
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications.html
*/
toGetEventBridgeRuleTemplate() {
return this.to('GetEventBridgeRuleTemplate');
}
/**
* Grants permission to get a eventbridge rule template group
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications.html
*/
toGetEventBridgeRuleTemplateGroup() {
return this.to('GetEventBridgeRuleTemplateGroup');
}
/**
* Grants permission to get a signal map
*
* Access Level: Read
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-signal-maps-view.html
*/
toGetSignalMap() {
return this.to('GetSignalMap');
}
/**
* Grants permission to list channel placement groups
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toListChannelPlacementGroups() {
return this.to('ListChannelPlacementGroups');
}
/**
* Grants permission to list channels
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/viewing-channel-configuration.html
*/
toListChannels() {
return this.to('ListChannels');
}
/**
* Grants permission to list cloudwatch alarm template groups
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms.html
*/
toListCloudWatchAlarmTemplateGroups() {
return this.to('ListCloudWatchAlarmTemplateGroups');
}
/**
* Grants permission to list cloudwatch alarm templates
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms.html
*/
toListCloudWatchAlarmTemplates() {
return this.to('ListCloudWatchAlarmTemplates');
}
/**
* Grants permission to list clusters
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toListClusters() {
return this.to('ListClusters');
}
/**
* Grants permission to list eventbridge rule template groups
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications.html
*/
toListEventBridgeRuleTemplateGroups() {
return this.to('ListEventBridgeRuleTemplateGroups');
}
/**
* Grants permission to list eventbridge rule templates
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications.html
*/
toListEventBridgeRuleTemplates() {
return this.to('ListEventBridgeRuleTemplates');
}
/**
* Grants permission to list input device transfers
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toListInputDeviceTransfers() {
return this.to('ListInputDeviceTransfers');
}
/**
* Grants permission to list input devices
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/device-edit.html
*/
toListInputDevices() {
return this.to('ListInputDevices');
}
/**
* Grants permission to list input security groups
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-input-security-group.html
*/
toListInputSecurityGroups() {
return this.to('ListInputSecurityGroups');
}
/**
* Grants permission to list inputs
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-input.html
*/
toListInputs() {
return this.to('ListInputs');
}
/**
* Grants permission to list multiplex programs
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitoring-multiplex-console.html
*/
toListMultiplexPrograms() {
return this.to('ListMultiplexPrograms');
}
/**
* Grants permission to list multiplexes
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-multiplex-program-channel.html
*/
toListMultiplexes() {
return this.to('ListMultiplexes');
}
/**
* Grants permission to list networks
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toListNetworks() {
return this.to('ListNetworks');
}
/**
* Grants permission to list nodes
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toListNodes() {
return this.to('ListNodes');
}
/**
* Grants permission to list reservation offerings
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/purchasing-reservations.html
*/
toListOfferings() {
return this.to('ListOfferings');
}
/**
* Grants permission to list reservations
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/view-reservations.html
*/
toListReservations() {
return this.to('ListReservations');
}
/**
* Grants permission to list SDI sources
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toListSdiSources() {
return this.to('ListSdiSources');
}
/**
* Grants permission to list signal maps
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-signal-maps-view.html
*/
toListSignalMaps() {
return this.to('ListSignalMaps');
}
/**
* Grants permission to list tags for channels, inputs, input security groups, multiplexes, reservations, nodes, clusters, networks, channel placement groups, SDI sources, signal maps, template groups, and templates
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/tagging.html
*/
toListTagsForResource() {
return this.to('ListTagsForResource');
}
/**
* Grants permission to list available versions of MediaLive
*
* Access Level: List
*
* https://docs.aws.amazon.com/medialive/latest/ug/medialive-versions.html
*/
toListVersions() {
return this.to('ListVersions');
}
/**
* Grants permission to the node to poll the cluster
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/about-emla.html
*/
toPollAnywhere() {
return this.to('PollAnywhere');
}
/**
* Grants permission to purchase a reservation offering
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/purchasing-reservations.html
*/
toPurchaseOffering() {
return this.to('PurchaseOffering');
}
/**
* Grants permission to reboot an input device
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toRebootInputDevice() {
return this.to('RebootInputDevice');
}
/**
* Grants permission to reject an input device transfer
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toRejectInputDeviceTransfer() {
return this.to('RejectInputDeviceTransfer');
}
/**
* Grants permission to restart pipelines on a running channel
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/maintenance-user-initiated.html
*/
toRestartChannelPipelines() {
return this.to('RestartChannelPipelines');
}
/**
* Grants permission to start a channel
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/starting-stopping-deleting-a-channel.html
*/
toStartChannel() {
return this.to('StartChannel');
}
/**
* Grants permission to start deletion of a signal map's monitor
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-signal-maps-delete.html
*/
toStartDeleteMonitorDeployment() {
return this.to('StartDeleteMonitorDeployment');
}
/**
* Grants permission to start an input device attached to a MediaConnect flow
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toStartInputDevice() {
return this.to('StartInputDevice');
}
/**
* Grants permission to start a maintenance window for an input device
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toStartInputDeviceMaintenanceWindow() {
return this.to('StartInputDeviceMaintenanceWindow');
}
/**
* Grants permission to start a signal map monitor deployment
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-deploy.html
*/
toStartMonitorDeployment() {
return this.to('StartMonitorDeployment');
}
/**
* Grants permission to start a multiplex
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/start-multiplex.html
*/
toStartMultiplex() {
return this.to('StartMultiplex');
}
/**
* Grants permission to start a signal map update
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-signal-maps-update.html
*/
toStartUpdateSignalMap() {
return this.to('StartUpdateSignalMap');
}
/**
* Grants permission to stop a channel
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/starting-stopping-deleting-a-channel.html
*/
toStopChannel() {
return this.to('StopChannel');
}
/**
* Grants permission to stop an input device attached to a MediaConnect flow
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toStopInputDevice() {
return this.to('StopInputDevice');
}
/**
* Grants permission to stop a multiplex
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/stop-multiplex.title.html
*/
toStopMultiplex() {
return this.to('StopMultiplex');
}
/**
* Grants permission to the node to submit state changes to the cluster
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/about-emla.html
*/
toSubmitAnywhereStateChange() {
return this.to('SubmitAnywhereStateChange');
}
/**
* Grants permission to transfer an input device
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*/
toTransferInputDevice() {
return this.to('TransferInputDevice');
}
/**
* Grants permission to update a customer's account configuration
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/starting-stopping-deleting-a-channel.html
*/
toUpdateAccountConfiguration() {
return this.to('UpdateAccountConfiguration');
}
/**
* Grants permission to update a channel
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/editing-deleting-channel.html
*/
toUpdateChannel() {
return this.to('UpdateChannel');
}
/**
* Grants permission to update the class of a channel
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/editing-deleting-channel.html
*/
toUpdateChannelClass() {
return this.to('UpdateChannelClass');
}
/**
* Grants permission to update a node
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toUpdateChannelPlacementGroup() {
return this.to('UpdateChannelPlacementGroup');
}
/**
* Grants permission to update a cloudwatch alarm template
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms-templates-create.html
*/
toUpdateCloudWatchAlarmTemplate() {
return this.to('UpdateCloudWatchAlarmTemplate');
}
/**
* Grants permission to update a cloudwatch alarm template group
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms-templates-create.html
*/
toUpdateCloudWatchAlarmTemplateGroup() {
return this.to('UpdateCloudWatchAlarmTemplateGroup');
}
/**
* Grants permission to update a cluster
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-setup-cl-create.html
*/
toUpdateCluster() {
return this.to('UpdateCluster');
}
/**
* Grants permission to update a eventbridge rule template
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications-template-create.html
*/
toUpdateEventBridgeRuleTemplate() {
return this.to('UpdateEventBridgeRuleTemplate');
}
/**
* Grants permission to update a eventbridge rule template group
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications-template-create.html
*/
toUpdateEventBridgeRuleTemplateGroup() {
return this.to('UpdateEventBridgeRuleTemplateGroup');
}
/**
* Grants permission to update an input
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-input.html
*/
toUpdateInput() {
return this.to('UpdateInput');
}
/**
* Grants permission to update an input device
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/device-edit.html
*/
toUpdateInputDevice() {
return this.to('UpdateInputDevice');
}
/**
* Grants permission to update an input security group
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-input-security-group.html
*/
toUpdateInputSecurityGroup() {
return this.to('UpdateInputSecurityGroup');
}
/**
* Grants permission to update a multiplex
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-multiplex-program-channel.html
*/
toUpdateMultiplex() {
return this.to('UpdateMultiplex');
}
/**
* Grants permission to update a multiplex program
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/edit-multiplex-program-channel.html
*/
toUpdateMultiplexProgram() {
return this.to('UpdateMultiplexProgram');
}
/**
* Grants permission to update the state of a node
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-deploy-identify-network-requirements.html
*/
toUpdateNetwork() {
return this.to('UpdateNetwork');
}
/**
* Grants permission to update a node
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/emla-setup-cl-nodes-create.html
*/
toUpdateNode() {
return this.to('UpdateNode');
}
/**
* Grants permission to update the state of a node
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toUpdateNodeState() {
return this.to('UpdateNodeState');
}
/**
* Grants permission to update a reservation
*
* Access Level: Write
*
* https://docs.aws.amazon.com/medialive/latest/ug/reservations.html
*/
toUpdateReservation() {
return this.to('UpdateReservation');
}
/**
* Grants permission to update the state of a sdi source
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/medialive/latest/ug/setup-emla.html
*/
toUpdateSdiSource() {
return this.to('UpdateSdiSource');
}
/**
* Adds a resource of type channel to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/container-channel.html
*
* @param channelId - Identifier for the channelId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onChannel(channelId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:channel:${channelId}`);
}
/**
* Adds a resource of type input to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/creating-input.html
*
* @param inputId - Identifier for the inputId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onInput(inputId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:input:${inputId}`);
}
/**
* Adds a resource of type input-device to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-devices.html
*
* @param deviceId - Identifier for the deviceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onInputDevice(deviceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:inputDevice:${deviceId}`);
}
/**
* Adds a resource of type input-security-group to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/working-with-input-security-groups.html
*
* @param inputSecurityGroupId - Identifier for the inputSecurityGroupId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onInputSecurityGroup(inputSecurityGroupId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:inputSecurityGroup:${inputSecurityGroupId}`);
}
/**
* Adds a resource of type multiplex to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/eml-multiplex.html
*
* @param multiplexId - Identifier for the multiplexId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onMultiplex(multiplexId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:multiplex:${multiplexId}`);
}
/**
* Adds a resource of type reservation to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/reservations.html
*
* @param reservationId - Identifier for the reservationId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onReservation(reservationId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:reservation:${reservationId}`);
}
/**
* Adds a resource of type offering to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/input-output-reservations.html
*
* @param offeringId - Identifier for the offeringId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onOffering(offeringId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:offering:${offeringId}`);
}
/**
* Adds a resource of type signal-map to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-signal-maps-create.html
*
* @param signalMapId - Identifier for the signalMapId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onSignalMap(signalMapId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:signal-map:${signalMapId}`);
}
/**
* Adds a resource of type cloudwatch-alarm-template-group to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms-templates-create.html
*
* @param cloudWatchAlarmTemplateGroupId - Identifier for the cloudWatchAlarmTemplateGroupId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onCloudwatchAlarmTemplateGroup(cloudWatchAlarmTemplateGroupId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:cloudwatch-alarm-template-group:${cloudWatchAlarmTemplateGroupId}`);
}
/**
* Adds a resource of type cloudwatch-alarm-template to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-alarms-templates-create.html
*
* @param cloudWatchAlarmTemplateId - Identifier for the cloudWatchAlarmTemplateId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onCloudwatchAlarmTemplate(cloudWatchAlarmTemplateId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:cloudwatch-alarm-template:${cloudWatchAlarmTemplateId}`);
}
/**
* Adds a resource of type eventbridge-rule-template-group to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications-template-create.html
*
* @param eventBridgeRuleTemplateGroupId - Identifier for the eventBridgeRuleTemplateGroupId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onEventbridgeRuleTemplateGroup(eventBridgeRuleTemplateGroupId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:eventbridge-rule-template-group:${eventBridgeRuleTemplateGroupId}`);
}
/**
* Adds a resource of type eventbridge-rule-template to the statement
*
* https://docs.aws.amazon.com/medialive/latest/ug/monitor-with-workflow-monitor-configure-notifications-template-create.html
*
* @param eventBridgeRuleTemplateId - Identifier for the eventBridgeRuleTemplateId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onEventbridgeRuleTemplate(eventBridgeRuleTemplateId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:medialive:${region ?? t