dcloud ec2 instances remove-role

Take the instance role away; sessions already issued expire within the hour

IAM ec2:DisassociateInstanceRoleChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud ec2 instances remove-role id

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^i-[0-9a-f]{6,32}$/

Example

dcloud ec2 instances remove-role id

Generated from the API description, the same one the API checks requests against and the CLI is built from.