This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Connect::AgentStatus
Contains information about an agent status.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Connect::AgentStatus", "Properties" : { "Description" :String, "DisplayOrder" :Integer, "InstanceArn" :String, "Name" :String, "ResetOrderNumber" :Boolean, "State" :String, "Tags" :[ Tag, ... ], "Type" :String} }
YAML
Type: AWS::Connect::AgentStatus Properties: Description:StringDisplayOrder:IntegerInstanceArn:StringName:StringResetOrderNumber:BooleanState:StringTags:- TagType:String
Properties
Description-
The description of the agent status.
Required: No
Type: String
Minimum:
1Maximum:
250Update requires: No interruption
DisplayOrder-
The display order of the agent status.
Required: No
Type: Integer
Minimum:
1Maximum:
50Update requires: No interruption
InstanceArn-
The Amazon Resource Name (ARN) of the instance.
Required: Yes
Type: String
Pattern:
^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$Update requires: No interruption
Name-
The name of the agent status.
Required: Yes
Type: String
Minimum:
1Maximum:
127Update requires: No interruption
ResetOrderNumber-
A number indicating the reset order of the agent status.
Required: No
Type: Boolean
Update requires: No interruption
State-
The state of the agent status.
Required: Yes
Type: String
Allowed values:
ENABLED | DISABLEDUpdate requires: No interruption
-
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Required: No
Type: Array of Tag
Maximum:
50Update requires: No interruption
Type-
The type of agent status.
Required: No
Type: String
Allowed values:
ROUTABLE | CUSTOM | OFFLINEUpdate requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the agent status. For example:
{ "Ref": "myAgentStatus" }
For more information about using the Ref function, see Ref.
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.
AgentStatusArn-
The Amazon Resource Name (ARN) of the agent status.
LastModifiedRegion-
The AWS Region where this resource was last modified.
LastModifiedTime-
The timestamp when this resource was last modified.