404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.203.133: ~ $
**To list the resource policies of a contact**

The following ``get-contact-policy`` example lists the resource policies associated with the specified contact. ::

    aws ssm-contacts get-contact-policy \
        --contact-arn "arn:aws:ssm-contacts:us-east-1:111122223333:contact/akuam"

Output::

    {
        "ContactArn": "arn:aws:ssm-contacts:us-east-1:111122223333:contact/akuam",
        "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"SharePolicyForDocumentationDralia\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"222233334444\"},\"Action\":[\"ssm-contacts:GetContact\",\"ssm-contacts:StartEngagement\",\"ssm-contacts:DescribeEngagement\",\"ssm-contacts:ListPagesByEngagement\",\"ssm-contacts:StopEngagement\"],\"Resource\":[\"arn:aws:ssm-contacts:*:111122223333:contact/akuam\",\"arn:aws:ssm-contacts:*:111122223333:engagement/akuam/*\"]}]}"
    }

For more information, see `Working with shared contacts and response plans <https://docs.aws.amazon.com/incident-manager/latest/userguide/sharing.html>`__ in the *Incident Manager User Guide*.

Filemanager

Name Type Size Permission Actions
accept-page.rst File 559 B 0644
activate-contact-channel.rst File 587 B 0644
command-name.rst File 490 B 0644
create-contact-channel.rst File 740 B 0644
create-contact.rst File 792 B 0644
deactivate-contact-channel.rst File 710 B 0644
delete-contact-channel.rst File 584 B 0644
delete-contact.rst File 492 B 0644
describe-engagement.rst File 1.06 KB 0644
describe-page.rst File 1.21 KB 0644
get-contact-channel.rst File 905 B 0644
get-contact-policy.rst File 1.06 KB 0644
get-contact.rst File 3.94 KB 0644
list-contact-channels.rst File 1.33 KB 0644
list-contacts.rst File 1.38 KB 0644
list-engagements.rst File 1.85 KB 0644
list-page-receipts.rst File 1.47 KB 0644
list-pages-by-contact.rst File 1.06 KB 0644
list-pages-by-engagement.rst File 1.04 KB 0644
list-tags-for-resource.rst File 567 B 0644
put-contact-policy.rst File 1.01 KB 0644
send-activation-code.rst File 530 B 0644
start-engagement.rst File 1.93 KB 0644
stop-engagement.rst File 518 B 0644
tag-resource.rst File 494 B 0644
untag-resource.rst File 479 B 0644
update-contact-channel.rst File 630 B 0644
update-contact.rst File 1.22 KB 0644