Skip to content
v2.273.0

CfnAgentSpaceProps Struct ​

Properties for defining a CfnAgentSpace.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const cfnAgentSpaceProps: devopsagent.CfnAgentSpaceProps = {
  name: 'name',

  // the properties below are optional
  description: 'description',
  kmsKeyArn: 'kmsKeyArn',
  locale: 'locale',
  operatorApp: {
    iam: {
      operatorAppRoleArn: 'operatorAppRoleArn',

      // the properties below are optional
      createdAt: 'createdAt',
      updatedAt: 'updatedAt',
    },
    idc: {
      idcInstanceArn: 'idcInstanceArn',
      operatorAppRoleArn: 'operatorAppRoleArn',

      // the properties below are optional
      createdAt: 'createdAt',
      idcApplicationArn: 'idcApplicationArn',
      updatedAt: 'updatedAt',
    },
  },
  preferences: {
    elevatedActionsEnabled: false,
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
The description of the Agent Space.
kmsKeyArnstringkms_key_arnstrkmsKeyArnStringKmsKeyArnstringKmsKeyArn*string#
The ARN of the KMS key to use for encryption.
localestringlocalestrlocaleStringLocalestringLocale*string#
The locale for the AgentSpace, which determines the language used in agent responses.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the Agent Space.
operatorAppIResolvable | CfnAgentSpace.OperatorAppPropertyoperator_apptyping.Union[IResolvable, OperatorAppProperty]operatorAppIResolvableOperatorAppIResolvableOperatorAppinterface{}#
preferencesIResolvable | CfnAgentSpace.PreferencesPropertypreferencestyping.Union[IResolvable, PreferencesProperty]preferencesIResolvablePreferencesIResolvablePreferencesinterface{}#
Preferences that configure behavior of this AgentSpace.

This container fully owns the AgentSpace preferences: the properties supplied here replace the stored preferences in their entirety, and omitting the Preferences container reverts all preferences to their service defaults.

tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
An array of key-value pairs to apply to this resource.

Used as props by ​