Class CfnAgentSpace
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.securityagent.CfnAgentSpace
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IAgentSpaceRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:32:04.500Z")
@Stability(Stable)
public class CfnAgentSpace
extends CfnResource
implements IInspectable, IAgentSpaceRef, ITaggableV2
Resource Type definition for AWS::SecurityAgent::AgentSpace.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityagent.*;
CfnAgentSpace cfnAgentSpace = CfnAgentSpace.Builder.create(this, "MyCfnAgentSpace")
.name("name")
// the properties below are optional
.awsResources(AWSResourcesProperty.builder()
.iamRoles(List.of("iamRoles"))
.lambdaFunctionArns(List.of("lambdaFunctionArns"))
.logGroups(List.of("logGroups"))
.s3Buckets(List.of("s3Buckets"))
.secretArns(List.of("secretArns"))
.vpcs(List.of(VpcConfigProperty.builder()
.securityGroupArns(List.of("securityGroupArns"))
.subnetArns(List.of("subnetArns"))
.vpcArn("vpcArn")
.build()))
.build())
.codeReviewSettings(CodeReviewSettingsProperty.builder()
.controlsScanning(false)
.generalPurposeScanning(false)
.build())
.description("description")
.integratedResources(List.of(IntegratedResourceProperty.builder()
.integration("integration")
.build()))
.kmsKeyId("kmsKeyId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetDomainIds(List.of("targetDomainIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAWS resource configuration.static final classA fluent builder forCfnAgentSpace.static interfaceDetails of code review settings.static interfaceIntegrated Resource details.static interfaceCustomer VPC configuration that the security testing environment accesses.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.securityagent.IAgentSpaceRef
IAgentSpaceRef.Jsii$Default, IAgentSpaceRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnAgentSpace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAgentSpace(software.amazon.jsii.JsiiObjectRef objRef) CfnAgentSpace(software.constructs.Construct scope, String id, CfnAgentSpaceProps props) Create a newAWS::SecurityAgent::AgentSpace. -
Method Summary
Modifier and TypeMethodDescriptionA reference to a AgentSpace resource.Unique identifier of the agent space.Timestamp when the agent space was created.Timestamp when the agent space was last updated.AWS resource configuration.Tag Manager which manages the tags for this resource.Details of code review settings.Description of the agent space.Integrated Resources configuration.Identifier of the KMS key used to encrypt data.getName()Name of the agent space.getTags()Tags for the agent space.List of target domain identifiers registered with the agent space.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAgentSpace.renderProperties(Map<String, Object> props) voidsetAwsResources(IResolvable value) AWS resource configuration.voidAWS resource configuration.voidsetCodeReviewSettings(IResolvable value) Details of code review settings.voidDetails of code review settings.voidsetDescription(String value) Description of the agent space.voidsetIntegratedResources(List<Object> value) Integrated Resources configuration.voidIntegrated Resources configuration.voidsetKmsKeyId(String value) Identifier of the KMS key used to encrypt data.voidName of the agent space.voidTags for the agent space.voidsetTargetDomainIds(List<String> value) List of target domain identifiers registered with the agent space.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAgentSpace
protected CfnAgentSpace(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAgentSpace
protected CfnAgentSpace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAgentSpace
@Stability(Stable) public CfnAgentSpace(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAgentSpaceProps props) Create a newAWS::SecurityAgent::AgentSpace.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnAgentSpace
Checks whether the given object is a CfnAgentSpace.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAgentSpaceRef
A reference to a AgentSpace resource.- Specified by:
getAgentSpaceRefin interfaceIAgentSpaceRef
-
getAttrAgentSpaceId
Unique identifier of the agent space. -
getAttrCreatedAt
Timestamp when the agent space was created. -
getAttrUpdatedAt
Timestamp when the agent space was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getName
Name of the agent space. -
setName
Name of the agent space. -
getAwsResources
AWS resource configuration.Returns union: either
IResolvableorCfnAgentSpace.AWSResourcesProperty -
setAwsResources
AWS resource configuration. -
setAwsResources
AWS resource configuration. -
getCodeReviewSettings
Details of code review settings.Returns union: either
IResolvableorCfnAgentSpace.CodeReviewSettingsProperty -
setCodeReviewSettings
Details of code review settings. -
setCodeReviewSettings
@Stability(Stable) public void setCodeReviewSettings(@Nullable CfnAgentSpace.CodeReviewSettingsProperty value) Details of code review settings. -
getDescription
Description of the agent space. -
setDescription
Description of the agent space. -
getIntegratedResources
Integrated Resources configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAgentSpace.IntegratedResourceProperty> -
setIntegratedResources
Integrated Resources configuration. -
setIntegratedResources
Integrated Resources configuration. -
getKmsKeyId
Identifier of the KMS key used to encrypt data. -
setKmsKeyId
Identifier of the KMS key used to encrypt data. -
getTags
Tags for the agent space. -
setTags
Tags for the agent space. -
getTargetDomainIds
List of target domain identifiers registered with the agent space. -
setTargetDomainIds
List of target domain identifiers registered with the agent space.
-