Class CfnFramework
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.backup.CfnFramework
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:15.016Z")
@Stability(Stable)
public class CfnFramework
extends CfnResource
implements IInspectable, ITaggableV2
Creates a framework with one or more controls.
A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
For a sample AWS CloudFormation template, see the AWS Backup Developer Guide .
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.backup.*; Object controlScope; CfnFramework cfnFramework = CfnFramework.Builder.create(this, "MyCfnFramework") .frameworkControls(List.of(FrameworkControlProperty.builder() .controlName("controlName") // the properties below are optional .controlInputParameters(List.of(ControlInputParameterProperty.builder() .parameterName("parameterName") .parameterValue("parameterValue") .build())) .controlScope(controlScope) .build())) // the properties below are optional .frameworkDescription("frameworkDescription") .frameworkName("frameworkName") .frameworkTags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnFramework
.static interface
The parameters for a control.static interface
A framework consists of one or more controls.static interface
Contains detailed information about all of the controls of a framework.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnFramework
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnFramework
(software.amazon.jsii.JsiiObjectRef objRef) CfnFramework
(software.constructs.Construct scope, String id, CfnFrameworkProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe UTC time when you created your framework.Depolyment status refers to whether your framework has completed deployment.The Amazon Resource Name (ARN) of your framework.Framework status refers to whether you have turned on resource tracking for all of your resources.Tag Manager which manages the tags for this resource.Contains detailed information about all of the controls of a framework.An optional description of the framework with a maximum 1,024 characters.The unique name of a framework.The tags to assign to your framework.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setFrameworkControls
(List<Object> value) Contains detailed information about all of the controls of a framework.void
setFrameworkControls
(IResolvable value) Contains detailed information about all of the controls of a framework.void
setFrameworkDescription
(String value) An optional description of the framework with a maximum 1,024 characters.void
setFrameworkName
(String value) The unique name of a framework.void
setFrameworkTags
(List<CfnTag> value) The tags to assign to your framework.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
CfnFramework
protected CfnFramework(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFramework
protected CfnFramework(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFramework
@Stability(Stable) public CfnFramework(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFrameworkProps props) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreationTime
The UTC time when you created your framework. -
getAttrDeploymentStatus
Depolyment status refers to whether your framework has completed deployment.This status is usually
Completed
, but might also beCreate in progress
or another status. For a list of statuses, see Framework compliance status in the Developer Guide . -
getAttrFrameworkArn
The Amazon Resource Name (ARN) of your framework. -
getAttrFrameworkStatus
Framework status refers to whether you have turned on resource tracking for all of your resources.This status is
Active
when you turn on all resources the framework evaluates. For other statuses and steps to correct them, see Framework compliance status in the Developer Guide . -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getFrameworkControls
Contains detailed information about all of the controls of a framework. -
setFrameworkControls
Contains detailed information about all of the controls of a framework. -
setFrameworkControls
Contains detailed information about all of the controls of a framework. -
getFrameworkDescription
An optional description of the framework with a maximum 1,024 characters. -
setFrameworkDescription
An optional description of the framework with a maximum 1,024 characters. -
getFrameworkName
The unique name of a framework. -
setFrameworkName
The unique name of a framework. -
getFrameworkTags
The tags to assign to your framework. -
setFrameworkTags
The tags to assign to your framework.
-