CmdID

CmdID / aws / aws dlm

aws dlm create-default-role

Creates the default IAM role which will be used by Lifecycle service. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create the required IAM role for Amazon DLM

The following create-default-role example creates the AWSDataLifecycleManagerDefaultRole default role for managing snapshots.

aws dlm create-default-role --resource-type snapshotIdentify
--resource-typeThe resource type for which the role needs to be created.

This command produces no output.

For more information, see Default service roles for Amazon Data Lifecycle Manager in the Amazon Elastic Compute Cloud User Guide.

Options

2 in the AWS CLI reference
--iam-endpointThe IAM endpoint to call for creating the roles.
--resource-typeThe resource type for which the role needs to be created.