dcloud ec2 instances security-groups

List the security groups attached to an instance

IAM ec2:DescribeInstancesRead

Synopsis

dcloud ec2 instances security-groups id

Arguments

  • <id>Required

    string

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

Example

dcloud ec2 instances security-groups id

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