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_securityagent as securityagent } from 'aws-cdk-lib';
const cfnAgentSpaceProps: securityagent.CfnAgentSpaceProps = {
  name: 'name',

  // the properties below are optional
  awsResources: {
    iamRoles: ['iamRoles'],
    lambdaFunctionArns: ['lambdaFunctionArns'],
    logGroups: ['logGroups'],
    s3Buckets: ['s3Buckets'],
    secretArns: ['secretArns'],
    vpcs: [{
      securityGroupArns: ['securityGroupArns'],
      subnetArns: ['subnetArns'],
      vpcArn: 'vpcArn',
    }],
  },
  codeReviewSettings: {
    controlsScanning: false,
    generalPurposeScanning: false,
  },
  description: 'description',
  integratedResources: [{
    integration: 'integration',
  }],
  kmsKeyId: 'kmsKeyId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  targetDomainIds: ['targetDomainIds'],
};

Properties ​

awsResourcesIResolvable | CfnAgentSpace.AWSResourcesPropertyaws_resourcestyping.Union[IResolvable, AWSResourcesProperty]awsResourcesIResolvableAwsResourcesIResolvableAwsResourcesinterface{}#
AWS resource configuration.
codeReviewSettingsIResolvable | CfnAgentSpace.CodeReviewSettingsPropertycode_review_settingstyping.Union[IResolvable, CodeReviewSettingsProperty]codeReviewSettingsIResolvableCodeReviewSettingsIResolvableCodeReviewSettingsinterface{}#
Details of code review settings.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
Description of the agent space.
integratedResourcesIResolvable | IResolvable | CfnAgentSpace.IntegratedResourceProperty[]integrated_resourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, IntegratedResourceProperty]]]integratedResourcesIResolvableIntegratedResourcesIResolvableIntegratedResourcesinterface{}#
Integrated Resources configuration.
kmsKeyIdstringkms_key_idstrkmsKeyIdStringKmsKeyIdstringKmsKeyId*string#
Identifier of the KMS key used to encrypt data.

Can be a key ID, key ARN, alias name, or alias ARN. If not specified, an AWS managed key is used.

namestringnamestrnameStringNamestringName*stringrequired#
Name of the agent space.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
Tags for the agent space.
targetDomainIdsstring[]target_domain_idstyping.List[str]targetDomainIdsList<String>TargetDomainIdsstring[]TargetDomainIds*[]*string#
List of target domain identifiers registered with the agent space.

Used as props by ​