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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnAssessmentFramework.static interfaceA reference to an existing control by ID.static interfaceA control set entity that represents a collection of controls in Audit Manager.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.auditmanager.IAssessmentFrameworkRef
IAssessmentFrameworkRef.Jsii$Default, IAssessmentFrameworkRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnAssessmentFramework(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAssessmentFramework(software.amazon.jsii.JsiiObjectRef objRef) CfnAssessmentFramework(software.constructs.Construct scope, String id, CfnAssessmentFrameworkProps props) Create a newAWS::AuditManager::AssessmentFramework. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringA reference to a AssessmentFramework resource.The Amazon Resource Name (ARN) of the framework.The time when the framework was created.The user or role that created the framework.The unique identifier for the framework.The time when the framework was most recently updated.The user or role that most recently updated the framework.The framework type, such as a standard framework or a custom framework.Tag Manager which manages the tags for this resource.The compliance type that the framework supports, such as CIS or HIPAA.The control sets that are associated with the framework.The description of the framework.getName()The name of the framework.getTags()The tags associated with the framework.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAssessmentFramework.renderProperties(Map<String, Object> props) voidsetComplianceType(String value) The compliance type that the framework supports, such as CIS or HIPAA.voidsetControlSets(List<Object> value) The control sets that are associated with the framework.voidsetControlSets(IResolvable value) The control sets that are associated with the framework.voidsetDescription(String value) The description of the framework.voidThe name of the framework.voidThe tags associated with the framework.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, 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
-
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 newAWS::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
Checks whether the given object is a CfnAssessmentFramework.- 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.
-
getAssessmentFrameworkRef
A reference to a AssessmentFramework resource.- Specified by:
getAssessmentFrameworkRefin interfaceIAssessmentFrameworkRef
-
getAttrArn
The Amazon Resource Name (ARN) of the framework. -
getAttrCreatedAt
The time when the framework was created. -
getAttrCreatedBy
The user or role that created the framework. -
getAttrFrameworkId
The unique identifier for the framework. -
getAttrLastUpdatedAt
The time when the framework was most recently updated. -
getAttrLastUpdatedBy
The user or role that most recently updated the framework. -
getAttrType
The framework type, such as a standard framework or a custom framework. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getControlSets
The control sets that are associated with the framework.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAssessmentFramework.ControlSetProperty> -
setControlSets
The control sets that are associated with the framework. -
setControlSets
The control sets that are associated with the framework. -
getName
The name of the framework. -
setName
The name of the framework. -
getComplianceType
The compliance type that the framework supports, such as CIS or HIPAA. -
setComplianceType
The compliance type that the framework supports, such as CIS or HIPAA. -
getDescription
The description of the framework. -
setDescription
The description of the framework. -
getTags
The tags associated with the framework. -
setTags
The tags associated with the framework.
-