Class CfnAssessmentFramework

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.auditmanager.CfnAssessmentFramework
All Implemented Interfaces:
IInspectable, IAssessmentFrameworkRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:50:57.200Z") @Stability(Stable) public class CfnAssessmentFramework extends CfnResource implements IInspectable, IAssessmentFrameworkRef, ITaggableV2
Creates a custom framework in AWS Audit Manager.

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.auditmanager.*;
 CfnAssessmentFramework cfnAssessmentFramework = CfnAssessmentFramework.Builder.create(this, "MyCfnAssessmentFramework")
         .controlSets(List.of(ControlSetProperty.builder()
                 .controls(List.of(ControlSetControlProperty.builder()
                         .id("id")
                         .build()))
                 .name("name")
                 .build()))
         .name("name")
         // the properties below are optional
         .complianceType("complianceType")
         .description("description")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .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

    • CfnAssessmentFramework

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

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

      @Stability(Stable) public CfnAssessmentFramework(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAssessmentFrameworkProps props)
      Create a new AWS::AuditManager::AssessmentFramework.

      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

    • arnForAssessmentFramework

      @Stability(Stable) @NotNull public static String arnForAssessmentFramework(@NotNull IAssessmentFrameworkRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnAssessmentFramework

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

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

      @Stability(Stable) @NotNull public AssessmentFrameworkReference getAssessmentFrameworkRef()
      A reference to a AssessmentFramework resource.
      Specified by:
      getAssessmentFrameworkRef in interface IAssessmentFrameworkRef
    • getAttrArn

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

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The time when the framework was created.
    • getAttrCreatedBy

      @Stability(Stable) @NotNull public String getAttrCreatedBy()
      The user or role that created the framework.
    • getAttrFrameworkId

      @Stability(Stable) @NotNull public String getAttrFrameworkId()
      The unique identifier for the framework.
    • getAttrLastUpdatedAt

      @Stability(Stable) @NotNull public String getAttrLastUpdatedAt()
      The time when the framework was most recently updated.
    • getAttrLastUpdatedBy

      @Stability(Stable) @NotNull public String getAttrLastUpdatedBy()
      The user or role that most recently updated the framework.
    • getAttrType

      @Stability(Stable) @NotNull public String getAttrType()
      The framework type, such as a standard framework or a custom framework.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • 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
    • getControlSets

      @Stability(Stable) @NotNull public Object getControlSets()
      The control sets that are associated with the framework.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnAssessmentFramework.ControlSetProperty>

    • setControlSets

      @Stability(Stable) public void setControlSets(@NotNull IResolvable value)
      The control sets that are associated with the framework.
    • setControlSets

      @Stability(Stable) public void setControlSets(@NotNull List<Object> value)
      The control sets that are associated with the framework.
    • getName

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

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

      @Stability(Stable) @Nullable public String getComplianceType()
      The compliance type that the framework supports, such as CIS or HIPAA.
    • setComplianceType

      @Stability(Stable) public void setComplianceType(@Nullable String value)
      The compliance type that the framework supports, such as CIS or HIPAA.
    • getDescription

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

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

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags associated with the framework.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags associated with the framework.