Actions, resources, and condition keys for AWS Elemental MediaConnect - Service Authorization Reference

Actions, resources, and condition keys for AWS Elemental MediaConnect

AWS Elemental MediaConnect (service prefix: mediaconnect) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions defined by AWS Elemental MediaConnect

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

The Access level column of the Actions table describes how the action is classified (List, Read, Permissions management, or Tagging). This classification can help you understand the level of access that an action grants when you use it in a policy. For more information about access levels, see Access levels in policy summaries.

The Resource types column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the Resource element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the Resource element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.

The Condition keys column of the Actions table includes keys that you can specify in a policy statement's Condition element. For more information on the condition keys that are associated with resources for the service, see the Condition keys column of the Resource types table.

The Dependent actions column of the Actions table shows additional permissions that may be required to successfully call an action. These permissions may be needed in addition to the permission for the action itself. When an action specifies dependent actions, those dependencies may apply to additional resources defined for that action, not only the first resource listed in the table.

Note

Resource condition keys are listed in the Resource types table. You can find a link to the resource type that applies to an action in the Resource types (*required) column of the Actions table. The resource type in the Resource types table includes the Condition keys column, which are the resource condition keys that apply to an action in the Actions table.

For details about the columns in the following table, see Actions table.

Actions Description Access level Resource types (*required) Condition keys Dependent actions
AddBridgeOutputs Grants permission to add outputs to an existing bridge Write

Bridge*

AddBridgeSources Grants permission to add sources to an existing bridge Write

Bridge*

AddFlowMediaStreams Grants permission to add media streams to any flow Write

Flow*

aws:RequestTag/${TagKey}

aws:TagKeys

AddFlowOutputs Grants permission to add outputs to any flow Write

Flow*

Output*

aws:RequestTag/${TagKey}

aws:TagKeys

AddFlowSources Grants permission to add sources to any flow Write

Flow*

Source*

aws:RequestTag/${TagKey}

aws:TagKeys

AddFlowVpcInterfaces Grants permission to add VPC interfaces to any flow Write

Flow*

aws:RequestTag/${TagKey}

aws:TagKeys

AssociateRouterNetworkInterface Grants permission to associate a router network interface Write
CreateBridge Grants permission to create bridges Write

Bridge*

CreateFlow Grants permission to create flows Write

Flow*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateGateway Grants permission to create gateways Write

Gateway*

CreateRouterInput Grants permission to create a new router input in AWS Elemental MediaConnect Write

RouterInput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:CreateRouterInput

mediaconnect:TagResource

mediaconnect:UpdateFlowOutput

aws:RequestTag/${TagKey}

aws:TagKeys

CreateRouterNetworkInterface Grants permission to create a new router network interface in AWS Elemental MediaConnect Write

RouterNetworkInterface*

iam:CreateServiceLinkedRole

mediaconnect:CreateRouterNetworkInterface

mediaconnect:TagResource

aws:RequestTag/${TagKey}

aws:TagKeys

CreateRouterOutput Grants permission to create a new router output in AWS Elemental MediaConnect Write

RouterOutput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:CreateRouterOutput

mediaconnect:TagResource

mediaconnect:UpdateFlowSource

medialive:UpdateInput

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteBridge Grants permission to delete bridges Write

Bridge*

DeleteFlow Grants permission to delete flows Write

Flow*

DeleteGateway Grants permission to delete gateways Write

Gateway*

DeleteRouterInput Grants permission to delete a router input in AWS Elemental MediaConnect Write

RouterInput*

DeleteRouterNetworkInterface Grants permission to delete a router network interface from AWS Elemental MediaConnect Write

RouterNetworkInterface*

DeleteRouterOutput Grants permission to delete a router output from AWS Elemental MediaConnect Write

RouterOutput*

DeregisterGatewayInstance Grants permission to deregister gateway instance Write

GatewayInstance*

DescribeBridge Grants permission to display the details of a bridge Read

Bridge*

DescribeFlow Grants permission to display the details of a flow including the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements Read

Flow*

DescribeFlowSourceMetadata Grants permission to view information about the flow's source transport stream and programs Read

Flow*

DescribeFlowSourceThumbnail Grants permission to view flow's source thumbnail Read

Flow*

DescribeGateway Grants permission to display the details of a gateway including the gateway ARN, name, and CIDR blocks, as well as details about the networks Read

Gateway*

DescribeGatewayInstance Grants permission to display the details of a gateway instance Read

GatewayInstance*

DescribeOffering Grants permission to display the details of an offering Read

Offering*

DescribeReservation Grants permission to display the details of a reservation Read

Reservation*

DiscoverGatewayPollEndpoint Grants permission to discover gateway poll endpoint Read

Gateway*

GetRouterInput Grants permission to retrieve information about a specific router input in AWS Elemental MediaConnect Read

RouterInput*

GetRouterInputSourceMetadata Grants permission to retrieve metadata about a router input source in AWS Elemental MediaConnect Read

RouterInput*

GetRouterInputThumbnail Grants permission to retrieve the thumbnail for a router input in AWS Elemental MediaConnect Read

RouterInput*

GetRouterNetworkInterface Grants permission to retrieve information about a specific router network interface in AWS Elemental MediaConnect Read

RouterNetworkInterface*

GetRouterOutput Grants permission to retrieve information about a specific router output in AWS Elemental MediaConnect Read

RouterOutput*

GrantFlowEntitlements Grants permission to grant entitlements on any flow Write

Entitlement*

Flow*

aws:RequestTag/${TagKey}

aws:TagKeys

ListBridges Grants permission to display a list of bridges that are associated with this account and an optionally specified Arn List
ListEntitlements Grants permission to display a list of all entitlements that have been granted to the account List
ListFlows Grants permission to display a list of flows that are associated with this account List
ListGatewayInstances Grants permission to display a list of instances that are associated with this gateway List
ListGateways Grants permission to display a list of gateways that are associated with this account List
ListOfferings Grants permission to display a list of all offerings that are available to the account in the current AWS Region List
ListReservations Grants permission to display a list of all reservations that have been purchased by the account in the current AWS Region List
ListRouterInputs Grants permission to retrieve a list of router inputs in AWS Elemental MediaConnect List
ListRouterNetworkInterfaces Grants permission to retrieve a list of router network interfaces in AWS Elemental MediaConnect List
ListRouterOutputs Grants permission to retrieve a list of router outputs in AWS Elemental MediaConnect List
ListTagsForResource Grants permission to display a list of all tags associated with a resource Read
PollGateway Grants permission to poll gateway Write
PurchaseOffering Grants permission to purchase an offering Write

Reservation*

RemoveBridgeOutput Grants permission to remove an output of an existing bridge Write

Bridge*

RemoveBridgeSource Grants permission to remove a source of an existing bridge Write

Bridge*

RemoveFlowMediaStream Grants permission to remove media streams from any flow Write

Flow*

RemoveFlowOutput Grants permission to remove outputs from any flow Write

Flow*

Output*

RemoveFlowSource Grants permission to remove sources from any flow Write

Flow*

Source*

RemoveFlowVpcInterface Grants permission to remove VPC interfaces from any flow Write

Flow*

RestartRouterInput Grants permission to restart a router input in AWS Elemental MediaConnect Write

RouterInput*

RestartRouterOutput Grants permission to restart a router output in AWS Elemental MediaConnect Write

RouterOutput*

RevokeFlowEntitlement Grants permission to revoke entitlements on any flow Write

Entitlement*

Flow*

StartFlow Grants permission to start flows Write

Flow*

StartRouterInput Grants permission to start a router input in AWS Elemental MediaConnect Write

RouterInput*

StartRouterOutput Grants permission to start a router output in AWS Elemental MediaConnect Write

RouterOutput*

StopFlow Grants permission to stop flows Write

Flow*

StopRouterInput Grants permission to stop a router input in AWS Elemental MediaConnect Write

RouterInput*

StopRouterOutput Grants permission to stops a router output in AWS Elemental MediaConnect Write

RouterOutput*

SubmitGatewayStateChange Grants permission to submit gateway state change Write
TagResource Grants permission to associate tags with resources Tagging

Entitlement

Flow

Output

RouterInput

RouterNetworkInterface

RouterOutput

Source

aws:RequestTag/${TagKey}

aws:TagKeys

TakeRouterInput Grants permission to associate a router input with a router output in AWS Elemental MediaConnect Write

RouterOutput*

UntagResource Grants permission to remove tags from resources Tagging

Entitlement

Flow

Output

RouterInput

RouterNetworkInterface

RouterOutput

Source

aws:TagKeys

UpdateBridge Grants permission to update bridges Write

Bridge*

UpdateBridgeOutput Grants permission to update an output of an existing bridge Write

Bridge*

UpdateBridgeSource Grants permission to update a source of an existing bridge Write

Bridge*

UpdateBridgeState Grants permission to update the state of an existing bridge Write

Bridge*

UpdateFlow Grants permission to update flows Write

Flow*

UpdateFlowEntitlement Grants permission to update entitlements on any flow Write

Flow*

UpdateFlowMediaStream Grants permission to update media streams on any flow Write

Flow*

UpdateFlowOutput Grants permission to update outputs on any flow Write

Flow*

Output*

UpdateFlowSource Grants permission to update the source of any flow Write

Flow*

Source*

UpdateGatewayInstance Grants permission to update the configuration of an existing Gateway Instance Write

GatewayInstance*

UpdateRouterInput Grants permission to update the configuration of a router input in AWS Elemental MediaConnect Write

RouterInput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:UpdateFlowOutput

mediaconnect:UpdateRouterInput

UpdateRouterNetworkInterface Grants permission to updated the configuration of a router network interface in AWS Elemental MediaConnect Write

RouterNetworkInterface*

iam:CreateServiceLinkedRole

mediaconnect:UpdateRouterNetworkInterface

UpdateRouterOutput Grants permission to update the configuration of a router output in AWS Elemental MediaConnect Write

RouterOutput*

ec2:CreateNetworkInterface

iam:PassRole

mediaconnect:AssociateRouterNetworkInterface

mediaconnect:UpdateFlowSource

mediaconnect:UpdateRouterOutput

medialive:UpdateInput

Resource types defined by AWS Elemental MediaConnect

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see Resource types table.

Resource types ARN Condition keys
Bridge arn:${Partition}:mediaconnect:${Region}:${Account}:bridge:${BridgeId}:${BridgeName}
Entitlement arn:${Partition}:mediaconnect:${Region}:${Account}:entitlement:${FlowId}:${EntitlementName}

aws:ResourceTag/${TagKey}

Flow arn:${Partition}:mediaconnect:${Region}:${Account}:flow:${FlowId}:${FlowName}

aws:ResourceTag/${TagKey}

Gateway arn:${Partition}:mediaconnect:${Region}:${Account}:gateway:${GatewayId}:${GatewayName}
GatewayInstance arn:${Partition}:mediaconnect:${Region}:${Account}:gateway:${GatewayId}:${GatewayName}:instance:${InstanceId}
Offering arn:${Partition}:mediaconnect:${Region}:offering:${OfferingId}
Output arn:${Partition}:mediaconnect:${Region}:${Account}:output:${OutputId}:${OutputName}

aws:ResourceTag/${TagKey}

Reservation arn:${Partition}:mediaconnect:${Region}:${Account}:reservation:${ReservationId}:${ReservationName}
RouterInput arn:${Partition}:mediaconnect:${Region}:${Account}:routerInput:${RouterInputId}

aws:ResourceTag/${TagKey}

RouterNetworkInterface arn:${Partition}:mediaconnect:${Region}:${Account}:routerNetworkInterface:${RouterNetworkInterfaceId}

aws:ResourceTag/${TagKey}

RouterOutput arn:${Partition}:mediaconnect:${Region}:${Account}:routerOutput:${RouterOutputId}

aws:ResourceTag/${TagKey}

Source arn:${Partition}:mediaconnect:${Region}:${Account}:source:${SourceId}:${SourceName}

aws:ResourceTag/${TagKey}

Condition keys for AWS Elemental MediaConnect

AWS Elemental MediaConnect defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see Condition keys table.

To view the global condition keys that are available to all services, see AWS global condition context keys.

Condition keys Description Type
aws:RequestTag/${TagKey} Filters access by tags that are passed in the request String
aws:ResourceTag/${TagKey} Filters access by tags associated with the resource String
aws:TagKeys Filters access by tag keys that are passed in the request ArrayOfString