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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:51:00.572Z") @Stability(Stable) public class CfnObjective extends CfnResource implements IInspectable, IObjectiveRef
Returns information about an objective in the AWS Control Catalog.

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.controlcatalog.*;
 CfnObjective cfnObjective = CfnObjective.Builder.create(this, "MyCfnObjective").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

    • CfnObjective

      protected CfnObjective(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnObjective

      protected CfnObjective(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnObjective

      @Stability(Stable) public CfnObjective(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnObjectiveProps props)
      Create a new AWS::ControlCatalog::Objective.

      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.
    • CfnObjective

      @Stability(Stable) public CfnObjective(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::ControlCatalog::Objective.

      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.
  • Method Details

    • arnForObjective

      @Stability(Stable) @NotNull public static String arnForObjective(@NotNull IObjectiveRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnObjective

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

      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.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) that identifies the objective.
    • getAttrCreateTime

      @Stability(Stable) @NotNull public String getAttrCreateTime()
      The time when the objective was created.
    • getAttrDescription

      @Stability(Stable) @NotNull public String getAttrDescription()
      The description of the objective.
    • getAttrDomain

      @Stability(Stable) @NotNull public IResolvable getAttrDomain()
      The domain that the objective belongs to.
    • getAttrLastUpdateTime

      @Stability(Stable) @NotNull public String getAttrLastUpdateTime()
      The time when the objective was most recently updated.
    • getAttrName

      @Stability(Stable) @NotNull public String getAttrName()
      The name of the objective.
    • getAttrObjectiveId

      @Stability(Stable) @NotNull public String getAttrObjectiveId()
      The unique identifier of the objective.
    • getCfnProperties

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

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getObjectiveRef

      @Stability(Stable) @NotNull public ObjectiveReference getObjectiveRef()
      A reference to a Objective resource.
      Specified by:
      getObjectiveRef in interface IObjectiveRef