**To grant an entitlement on a flow** The following ``grant-flow-entitlements`` example grants an entitlement to the specified existing flow to share your content with another AWS account. :: aws mediaconnect grant-flow-entitlements \ --flow-arn arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BaseballGame \ --entitlements Description='For AnyCompany',Encryption={"Algorithm=aes128,KeyType=static-key,RoleArn=arn:aws:iam::111122223333:role/MediaConnect-ASM,SecretArn=arn:aws:secretsmanager:us-west-2:111122223333:secret:mySecret1"},Name=AnyCompany_Entitlement,Subscribers=444455556666 Description='For Example Corp',Name=ExampleCorp,Subscribers=777788889999 Output:: { "Entitlements": [ { "Name": "AnyCompany_Entitlement", "EntitlementArn": "arn:aws:mediaconnect:us-west-2:111122223333:entitlement:1-11aa22bb11aa22bb-3333cccc4444:AnyCompany_Entitlement", "Subscribers": [ "444455556666" ], "Description": "For AnyCompany", "Encryption": { "SecretArn": "arn:aws:secretsmanager:us-west-2:111122223333:secret:mySecret1", "Algorithm": "aes128", "RoleArn": "arn:aws:iam::111122223333:role/MediaConnect-ASM", "KeyType": "static-key" } }, { "Name": "ExampleCorp", "EntitlementArn": "arn:aws:mediaconnect:us-west-2:111122223333:entitlement:1-3333cccc4444dddd-1111aaaa2222:ExampleCorp", "Subscribers": [ "777788889999" ], "Description": "For Example Corp" } ], "FlowArn": "arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BaseballGame" } For more information, see `Granting an Entitlement on a Flow <https://docs.aws.amazon.com/mediaconnect/latest/ug/entitlements-grant.html>`__ in the *AWS Elemental MediaConnect User Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
add-flow-outputs.rst | File | 1.66 KB | 0644 |
|
create-flow.rst | File | 1.43 KB | 0644 |
|
delete-flow.rst | File | 570 B | 0644 |
|
describe-flow.rst | File | 2.67 KB | 0644 |
|
grant-flow-entitlements.rst | File | 2.05 KB | 0644 |
|
list-entitlements.rst | File | 641 B | 0644 |
|
list-flows.rst | File | 1.05 KB | 0644 |
|
list-tags-for-resource.rst | File | 665 B | 0644 |
|
remove-flow-output.rst | File | 824 B | 0644 |
|
revoke-flow-entitlement.rst | File | 888 B | 0644 |
|
start-flow.rst | File | 598 B | 0644 |
|
stop-flow.rst | File | 560 B | 0644 |
|
tag-resource.rst | File | 587 B | 0644 |
|
untag-resource.rst | File | 617 B | 0644 |
|
update-flow-entitlement.rst | File | 1.48 KB | 0644 |
|
update-flow-output.rst | File | 1.1 KB | 0644 |
|
update-flow-source.rst | File | 1.27 KB | 0644 |
|