Class CfnAgentSpace

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IAgentSpaceRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:34.171Z") @Stability(Stable) public class CfnAgentSpace extends CfnResource implements IInspectable, IAgentSpaceRef
Resource Type definition for AWS::DevOpsAgent::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.devopsagent.*;
 CfnAgentSpace cfnAgentSpace = CfnAgentSpace.Builder.create(this, "MyCfnAgentSpace")
         .name("name")
         // the properties below are optional
         .description("description")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 new AWS::DevOpsAgent::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

    • arnForAgentSpace

      @Stability(Stable) @NotNull public static String arnForAgentSpace(@NotNull IAgentSpaceRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnAgentSpace

      @Stability(Stable) @NotNull public static Boolean isCfnAgentSpace(@NotNull Object x)
      Checks whether the given object is a CfnAgentSpace.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAgentSpaceRef

      @Stability(Stable) @NotNull public AgentSpaceReference getAgentSpaceRef()
      A reference to a AgentSpace resource.
      Specified by:
      getAgentSpaceRef in interface IAgentSpaceRef
    • getAttrAgentSpaceId

      @Stability(Stable) @NotNull public String getAttrAgentSpaceId()
      The unique identifier of the AgentSpace.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the AgentSpace.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the resource was created.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the resource was last updated.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the AgentSpace.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the AgentSpace.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the AgentSpace.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the AgentSpace.