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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-22T17:37:23.507Z") @Stability(Stable) public class CfnControl extends CfnResource implements IInspectable, IControlRef
Resource Type definition for AWS::ControlCatalog::Control.

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.*;
 CfnControl cfnControl = CfnControl.Builder.create(this, "MyCfnControl").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

    • CfnControl

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

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

      @Stability(Stable) public CfnControl(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnControlProps props)
      Create a new AWS::ControlCatalog::Control.

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

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

      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

    • arnForControl

      @Stability(Stable) @NotNull public static String arnForControl(@NotNull IControlRef resource)
      Parameters:
      resource - This parameter is required.
    • fromControlArn

      @Stability(Stable) @NotNull public static IControlRef fromControlArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn)
      Creates a new IControlRef from an ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      arn - This parameter is required.
    • fromControlId

      @Stability(Stable) @NotNull public static IControlRef fromControlId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String controlId)
      Creates a new IControlRef from a controlId.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      controlId - This parameter is required.
    • isCfnControl

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

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

      @Stability(Stable) @NotNull public List<String> getAttrAliases()
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrBehavior

      @Stability(Stable) @NotNull public String getAttrBehavior()
    • getAttrControlId

      @Stability(Stable) @NotNull public String getAttrControlId()
    • getAttrCreateTime

      @Stability(Stable) @NotNull public String getAttrCreateTime()
    • getAttrDescription

      @Stability(Stable) @NotNull public String getAttrDescription()
    • getAttrGovernedResources

      @Stability(Stable) @NotNull public List<String> getAttrGovernedResources()
    • getAttrImplementation

      @Stability(Stable) @NotNull public IResolvable getAttrImplementation()
    • getAttrImplementationIdentifier

      @Stability(Stable) @NotNull public String getAttrImplementationIdentifier()
    • getAttrImplementationType

      @Stability(Stable) @NotNull public String getAttrImplementationType()
    • getAttrName

      @Stability(Stable) @NotNull public String getAttrName()
    • getAttrRegionConfiguration

      @Stability(Stable) @NotNull public IResolvable getAttrRegionConfiguration()
    • getAttrRegionConfigurationDeployableRegions

      @Stability(Stable) @NotNull public List<String> getAttrRegionConfigurationDeployableRegions()
    • getAttrRegionConfigurationScope

      @Stability(Stable) @NotNull public String getAttrRegionConfigurationScope()
    • getAttrSeverity

      @Stability(Stable) @NotNull public String getAttrSeverity()
    • 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
    • getControlRef

      @Stability(Stable) @NotNull public ControlReference getControlRef()
      A reference to a Control resource.
      Specified by:
      getControlRef in interface IControlRef