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.b2bi.CfnProfile
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IProfileRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:58.958Z")
@Stability(Stable)
public class CfnProfile
extends CfnResource
implements IInspectable, IProfileRef, ITaggableV2
Creates a customer profile.
You can have up to five customer profiles, each representing a distinct private network. A profile is the mechanism used to create the concept of a private network.
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.b2bi.*;
CfnProfile cfnProfile = CfnProfile.Builder.create(this, "MyCfnProfile")
.businessName("businessName")
.logging("logging")
.name("name")
.phone("phone")
// the properties below are optional
.email("email")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested 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.services.b2bi.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) -
Method Summary
Modifier and TypeMethodDescriptionReturns the timestamp for creation date and time of the profile.Returns the name of the logging group.Returns the timestamp that identifies the most recent date and time that the profile was modified.Returns an Amazon Resource Name (ARN) for the profile.Returns the name for the business associated with this profile.Tag Manager which manages the tags for this resource.getEmail()Specifies whether or not logging is enabled for this profile.getName()Returns the display name for profile.getPhone()Specifies the phone number associated with the profile.A reference to a Profile resource.getTags()A key-value pair for a specific profile.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetBusinessName(String value) Returns the name for the business associated with this profile.voidvoidsetLogging(String value) Specifies whether or not logging is enabled for this profile.voidReturns the display name for profile.voidSpecifies the phone number associated with the profile.voidA key-value pair for a specific profile.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods 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
getNodeMethods inherited from interface software.amazon.awscdk.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) - 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:
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
Returns the timestamp for creation date and time of the profile. -
getAttrLogGroupName
Returns the name of the logging group. -
getAttrModifiedAt
Returns the timestamp that identifies the most recent date and time that the profile was modified. -
getAttrProfileArn
Returns an Amazon Resource Name (ARN) for the profile. -
getAttrProfileId
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getProfileRef
A reference to a Profile resource.- Specified by:
getProfileRefin interfaceIProfileRef
-
getBusinessName
Returns the name for the business associated with this profile. -
setBusinessName
Returns the name for the business associated with this profile. -
getLogging
Specifies whether or not logging is enabled for this profile. -
setLogging
Specifies whether or not logging is enabled for this profile. -
getName
Returns the display name for profile. -
setName
Returns the display name for profile. -
getPhone
Specifies the phone number associated with the profile. -
setPhone
Specifies the phone number associated with the profile. -
getEmail
-
setEmail
-
getTags
A key-value pair for a specific profile. -
setTags
A key-value pair for a specific profile.
-