Class CfnProfile
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.wellarchitected.CfnProfile
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IProfileRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:13.765Z")
@Stability(Stable)
public class CfnProfile
extends CfnResource
implements IInspectable, IProfileRef, ITaggableV2
Definition of AWS::WellArchitected::Profile Resource Type.
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.wellarchitected.*;
CfnProfile cfnProfile = CfnProfile.Builder.create(this, "MyCfnProfile")
.profileDescription("profileDescription")
.profileName("profileName")
.profileQuestions(List.of(ProfileQuestionUpdateProperty.builder()
.questionId("questionId")
.selectedChoiceIds(List.of("selectedChoiceIds"))
.build()))
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnProfile.static interfaceAn update to a profile question.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.interfaces.wellarchitected.IProfileRef
IProfileRef.Jsii$Default, IProfileRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProfile(software.amazon.jsii.JsiiObjectRef objRef) CfnProfile(software.constructs.Construct scope, String id, CfnProfileProps props) Create a newAWS::WellArchitected::Profile. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForProfile(IProfileRef resource) The date and time the profile was created.The owner of the profile.The profile ARN.The profile version.The date and time the profile was last updated.Tag Manager which manages the tags for this resource.The profile description.The name of the profile.The profile questions.A reference to a Profile resource.getTags()The tags assigned to the profile.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnProfile.renderProperties(Map<String, Object> props) voidsetProfileDescription(String value) The profile description.voidsetProfileName(String value) The name of the profile.voidsetProfileQuestions(List<Object> value) The profile questions.voidsetProfileQuestions(IResolvable value) The profile questions.voidThe tags assigned to the profile.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
-
CfnProfile
protected CfnProfile(software.amazon.jsii.JsiiObjectRef objRef) -
CfnProfile
protected CfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnProfile
@Stability(Stable) public CfnProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProfileProps props) Create a newAWS::WellArchitected::Profile.- 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
-
arnForProfile
- Parameters:
resource- This parameter is required.
-
isCfnProfile
Checks whether the given object is a CfnProfile.- 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.
-
getAttrCreatedAt
The date and time the profile was created. -
getAttrOwner
The owner of the profile. -
getAttrProfileArn
The profile ARN. -
getAttrProfileVersion
The profile version. -
getAttrUpdatedAt
The date and time the profile was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getProfileRef
A reference to a Profile resource.- Specified by:
getProfileRefin interfaceIProfileRef
-
getProfileDescription
The profile description. -
setProfileDescription
The profile description. -
getProfileName
The name of the profile. -
setProfileName
The name of the profile. -
getProfileQuestions
The profile questions.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProfile.ProfileQuestionUpdateProperty> -
setProfileQuestions
The profile questions. -
setProfileQuestions
The profile questions. -
getTags
The tags assigned to the profile. -
setTags
The tags assigned to the profile.
-