Skip to content
v2.278.0

CfnAgentStatusProps Struct ​

Properties for defining a CfnAgentStatus.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnAgentStatusProps: connect.CfnAgentStatusProps = {
  instanceArn: 'instanceArn',
  name: 'name',
  state: 'state',

  // the properties below are optional
  description: 'description',
  displayOrder: 123,
  resetOrderNumber: false,
  tags: [{
    key: 'key',
    value: 'value',
  }],
  type: 'type',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

cfn_agent_status_props = connect.CfnAgentStatusProps(
    instance_arn="instanceArn",
    name="name",
    state="state",

    # the properties below are optional
    description="description",
    display_order=123,
    reset_order_number=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;

CfnAgentStatusProps cfnAgentStatusProps = CfnAgentStatusProps.builder()
        .instanceArn("instanceArn")
        .name("name")
        .state("state")

        // the properties below are optional
        .description("description")
        .displayOrder(123)
        .resetOrderNumber(false)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .type("type")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;

var cfnAgentStatusProps = new CfnAgentStatusProps {
    InstanceArn = "instanceArn",
    Name = "name",
    State = "state",

    // the properties below are optional
    Description = "description",
    DisplayOrder = 123,
    ResetOrderNumber = false,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnAgentStatusProps := &CfnAgentStatusProps{
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),
	State: jsii.String("state"),

	// the properties below are optional
	Description: jsii.String("description"),
	DisplayOrder: jsii.Number(123),
	ResetOrderNumber: jsii.Boolean(false),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	Type: jsii.String("type"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the agent status.
displayOrderoptionalnumberdisplay_orderoptionalint | floatdisplayOrderoptionalNumberDisplayOrderoptionaldoubleDisplayOrderoptional*float64 #
The display order of the agent status.
instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*string required #
The Amazon Resource Name (ARN) of the instance.
namestringnamestrnameStringNamestringName*string required #
The name of the agent status.
resetOrderNumberoptionalboolean | IResolvablereset_order_numberoptionaltyping.Union[bool, IResolvable]resetOrderNumberoptionalBooleanResetOrderNumberoptionalboolResetOrderNumberoptionalinterface{} #
A number indicating the reset order of the agent status.
statestringstatestrstateStringStatestringState*string required #
The state of the agent status.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags used to organize, track, or control access for this resource.

For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
The type of agent status.