CmdID

CmdID / aws / aws cloudcontrol

aws cloudcontrol delete-resource

Deletes the specified resource. AWS CLI reference

1 example 5 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 delete a resource

The following delete-resource example deletes a AWS::Kinesis::Stream resource with the identifier ResourceExample from your AWS account.

aws cloudcontrol delete-resource --type-name AWS::Kinesis::Stream --identifier ResourceExampleIdentify
--type-nameThe name of the resource type.
--identifierThe identifier for the resource.
Its output
{
    "ProgressEvent": {
        "TypeName": "AWS::Kinesis::Stream",
        "Identifier": "ResourceExample",
        "RequestToken": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "Operation": "DELETE",
        "OperationStatus": "IN_PROGRESS",
        "EventTime": 1632950300.14
    }
}

For more information, see Deleting a resource in the Cloud Control API User Guide.

Options

5 in the AWS CLI reference
--client-tokenA unique identifier to ensure the idempotency of the resource request.
--identifierThe identifier for the resource.
--role-arnThe Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation.
--type-nameThe name of the resource type.
--type-version-idFor private resource types, the type version to use in this resource operation.