Class CfnEnvironment
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.finspace.CfnEnvironment
- All Implemented Interfaces:
IInspectable,IEnvironmentRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:10.791Z")
@Stability(Stable)
public class CfnEnvironment
extends CfnResource
implements IInspectable, IEnvironmentRef, ITaggable
The
AWS::FinSpace::Environment resource represents an Amazon FinSpace environment.
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.finspace.*;
CfnEnvironment cfnEnvironment = CfnEnvironment.Builder.create(this, "MyCfnEnvironment")
.name("name")
// the properties below are optional
.dataBundles(List.of("dataBundles"))
.description("description")
.federationMode("federationMode")
.federationParameters(FederationParametersProperty.builder()
.applicationCallBackUrl("applicationCallBackUrl")
.attributeMap(List.of(AttributeMapItemsProperty.builder()
.key("key")
.value("value")
.build()))
.federationProviderName("federationProviderName")
.federationUrn("federationUrn")
.samlMetadataDocument("samlMetadataDocument")
.samlMetadataUrl("samlMetadataUrl")
.build())
.kmsKeyId("kmsKeyId")
.superuserParameters(SuperuserParametersProperty.builder()
.emailAddress("emailAddress")
.firstName("firstName")
.lastName("lastName")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceExample:static final classA fluent builder forCfnEnvironment.static interfaceConfiguration information when authentication mode is FEDERATED.static interfaceConfiguration information for the superuser.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.interfaces.finspace.IEnvironmentRef
IEnvironmentRef.Jsii$Default, IEnvironmentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEnvironment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEnvironment(software.amazon.jsii.JsiiObjectRef objRef) CfnEnvironment(software.constructs.Construct scope, String id, CfnEnvironmentProps props) Create a newAWS::FinSpace::Environment. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForEnvironment(IEnvironmentRef resource) static IEnvironmentReffromEnvironmentArn(software.constructs.Construct scope, String id, String arn) Creates a new IEnvironmentRef from an ARN.static IEnvironmentReffromEnvironmentId(software.constructs.Construct scope, String id, String environmentId) Creates a new IEnvironmentRef from a environmentId.The ID of the AWS account in which the FinSpace environment is created.The AWS account ID of the dedicated service account associated with your FinSpace environment.The Amazon Resource Name (ARN) of your FinSpace environment.The identifier of the FinSpace environment.The sign-in url for the web application of your FinSpace environment.The url of the integrated FinSpace notebook environment in your web application.The current status of creation of the FinSpace environment.Deprecated.this property has been deprecatedThe description of the FinSpace environment.A reference to a Environment resource.The authentication mode for the environment.Configuration information when authentication mode is FEDERATED.The KMS key id used to encrypt in the FinSpace environment.getName()The name of the FinSpace environment.Configuration information for the superuser.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnEnvironment.renderProperties(Map<String, Object> props) voidsetDataBundles(List<String> value) Deprecated.this property has been deprecatedvoidsetDescription(String value) The description of the FinSpace environment.voidsetFederationMode(String value) The authentication mode for the environment.voidConfiguration information when authentication mode is FEDERATED.voidConfiguration information when authentication mode is FEDERATED.voidsetKmsKeyId(String value) The KMS key id used to encrypt in the FinSpace environment.voidThe name of the FinSpace environment.voidConfiguration information for the superuser.voidConfiguration information for the superuser.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.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.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
-
CfnEnvironment
protected CfnEnvironment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEnvironment
protected CfnEnvironment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEnvironment
@Stability(Stable) public CfnEnvironment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEnvironmentProps props) Create a newAWS::FinSpace::Environment.- 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
-
arnForEnvironment
@Stability(Stable) @NotNull public static String arnForEnvironment(@NotNull IEnvironmentRef resource) - Parameters:
resource- This parameter is required.
-
fromEnvironmentArn
@Stability(Stable) @NotNull public static IEnvironmentRef fromEnvironmentArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IEnvironmentRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromEnvironmentId
@Stability(Stable) @NotNull public static IEnvironmentRef fromEnvironmentId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String environmentId) Creates a new IEnvironmentRef from a environmentId.- Parameters:
scope- This parameter is required.id- This parameter is required.environmentId- This parameter is required.
-
isCfnEnvironment
Checks whether the given object is a CfnEnvironment.- 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.
-
getAttrAwsAccountId
The ID of the AWS account in which the FinSpace environment is created. -
getAttrDedicatedServiceAccountId
The AWS account ID of the dedicated service account associated with your FinSpace environment. -
getAttrEnvironmentArn
The Amazon Resource Name (ARN) of your FinSpace environment. -
getAttrEnvironmentId
The identifier of the FinSpace environment. -
getAttrEnvironmentUrl
The sign-in url for the web application of your FinSpace environment. -
getAttrSageMakerStudioDomainUrl
The url of the integrated FinSpace notebook environment in your web application. -
getAttrStatus
The current status of creation of the FinSpace environment. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEnvironmentRef
A reference to a Environment resource.- Specified by:
getEnvironmentRefin interfaceIEnvironmentRef
-
getTags
Tag Manager which manages the tags for this resource. -
getName
The name of the FinSpace environment. -
setName
The name of the FinSpace environment. -
getDataBundles
Deprecated.this property has been deprecated(deprecated) ARNs of FinSpace Data Bundles to install. -
setDataBundles
Deprecated.this property has been deprecated(deprecated) ARNs of FinSpace Data Bundles to install. -
getDescription
The description of the FinSpace environment. -
setDescription
The description of the FinSpace environment. -
getFederationMode
The authentication mode for the environment. -
setFederationMode
The authentication mode for the environment. -
getFederationParameters
Configuration information when authentication mode is FEDERATED.Returns union: either
IResolvableorCfnEnvironment.FederationParametersProperty -
setFederationParameters
Configuration information when authentication mode is FEDERATED. -
setFederationParameters
@Stability(Stable) public void setFederationParameters(@Nullable CfnEnvironment.FederationParametersProperty value) Configuration information when authentication mode is FEDERATED. -
getKmsKeyId
The KMS key id used to encrypt in the FinSpace environment. -
setKmsKeyId
The KMS key id used to encrypt in the FinSpace environment. -
getSuperuserParameters
Configuration information for the superuser.Returns union: either
IResolvableorCfnEnvironment.SuperuserParametersProperty -
setSuperuserParameters
Configuration information for the superuser. -
setSuperuserParameters
@Stability(Stable) public void setSuperuserParameters(@Nullable CfnEnvironment.SuperuserParametersProperty value) Configuration information for the superuser. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-