AWS
describe_tasks
Returns AWS response describing the tasks for a provided cluster
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.ecs.actions |
Name | untag_resource |
Return | None |
Usage
JSON
{
"name": "untag-resource",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.ecs.actions",
"func": "untag_resource",
"arguments": {
"tag_keys": [],
"resource_arn": ""
}
}
}
YAML
name: untag-resource
provider:
arguments:
resource_arn: ""
tag_keys: []
func: untag_resource
module: chaosaws.ecs.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
tags | list | Yes | Tags | List of tags to remove from the resource | |
resource_arn | string | Yes | ARN | Resource ARN to which to unset tags from |
For ECS resources, the long-form ARN must be used. See: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-arn-timeline
Example
{
"tag_keys": ["MyTagKey", "MyOtherTagKey"],
"resource_arn": "arn:aws:ecs:...:service/cluster-name/service-name"
}
Signature
def untag_resource(tag_keys: List[str],
resource_arn: str,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None):
pass