404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.39.40: ~ $
**To share a response plan and incidents**

The following ``command-name`` example adds a resource policy to the Example-Response-Plan that shares the response plan and associated incidents with the specified principal. ::

    aws ssm-incidents put-resource-policy \
        --resource-arn "arn:aws:ssm-incidents::111122223333:response-plan/Example-Response-Plan" \
        --policy "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"ExampleResourcePolciy\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::222233334444:root\"},\"Action\":[\"ssm-incidents:GetResponsePlan\",\"ssm-incidents:StartIncident\",\"ssm-incidents:UpdateIncidentRecord\",\"ssm-incidents:GetIncidentRecord\",\"ssm-incidents:CreateTimelineEvent\",\"ssm-incidents:UpdateTimelineEvent\",\"ssm-incidents:GetTimelineEvent\",\"ssm-incidents:ListTimelineEvents\",\"ssm-incidents:UpdateRelatedItems\",\"ssm-incidents:ListRelatedItems\"],\"Resource\":[\"arn:aws:ssm-incidents:*:111122223333:response-plan/Example-Response-Plan\",\"arn:aws:ssm-incidents:*:111122223333:incident-record/Example-Response-Plan/*\"]}]}"

Output::

    {
        "policyId": "be8b57191f0371f1c6827341aa3f0a03"
    }

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
create-replication-set.rst File 958 B 0644
create-response-plan.rst File 1.11 KB 0644
create-timeline-event.rst File 903 B 0644
delete-incident-record.rst File 507 B 0644
delete-replication-set.rst File 633 B 0644
delete-resource-policy.rst File 671 B 0644
delete-response-plan.rst File 466 B 0644
delete-timeline-event.rst File 616 B 0644
get-incident-record.rst File 1.36 KB 0644
get-replication-set.rst File 1.36 KB 0644
get-resource-policies.rst File 1.47 KB 0644
get-response-plan.rst File 1.48 KB 0644
get-timeline-event.rst File 1.02 KB 0644
list-incident-records.rst File 1.03 KB 0644
list-related-items.rst File 1.2 KB 0644
list-replication-sets.rst File 602 B 0644
list-response-plans.rst File 698 B 0644
list-tags-for-resource.rst File 537 B 0644
list-timeline-events.rst File 3.17 KB 0644
put-resource-policy.rst File 1.35 KB 0644
start-incident.rst File 617 B 0644
tag-resource.rst File 505 B 0644
untag-resource.rst File 504 B 0644
update-deletion-protection.rst File 649 B 0644
update-incident-record.rst File 529 B 0644
update-related-items.rst File 744 B 0644
update-replication-set.rst File 595 B 0644
update-response-plan.rst File 532 B 0644
update-timeline-event.rst File 640 B 0644