Class CfnEnvironment

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.744Z") @Stability(Stable) public class CfnEnvironment extends CfnResource implements IInspectable
A CloudFormation AWS::FinSpace::Environment.

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
         .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();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 Construct scope, @NotNull String id, @NotNull CfnEnvironmentProps props)
      Create a new AWS::FinSpace::Environment.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrAwsAccountId

      @Stability(Stable) @NotNull public String getAttrAwsAccountId()
      The ID of the AWS account in which the FinSpace environment is created.
    • getAttrDedicatedServiceAccountId

      @Stability(Stable) @NotNull public String getAttrDedicatedServiceAccountId()
      The AWS account ID of the dedicated service account associated with your FinSpace environment.
    • getAttrEnvironmentArn

      @Stability(Stable) @NotNull public String getAttrEnvironmentArn()
      The Amazon Resource Name (ARN) of your FinSpace environment.
    • getAttrEnvironmentId

      @Stability(Stable) @NotNull public String getAttrEnvironmentId()
      The identifier of the FinSpace environment.
    • getAttrEnvironmentUrl

      @Stability(Stable) @NotNull public String getAttrEnvironmentUrl()
      The sign-in url for the web application of your FinSpace environment.
    • getAttrSageMakerStudioDomainUrl

      @Stability(Stable) @NotNull public String getAttrSageMakerStudioDomainUrl()
      The url of the integrated FinSpace notebook environment in your web application.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The current status of creation of the FinSpace environment.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      AWS::FinSpace::Environment.Tags.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the FinSpace environment.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the FinSpace environment.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the FinSpace environment.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the FinSpace environment.
    • getFederationMode

      @Stability(Stable) @Nullable public String getFederationMode()
      The authentication mode for the environment.
    • setFederationMode

      @Stability(Stable) public void setFederationMode(@Nullable String value)
      The authentication mode for the environment.
    • getFederationParameters

      @Stability(Stable) @Nullable public Object getFederationParameters()
      Configuration information when authentication mode is FEDERATED.
    • setFederationParameters

      @Stability(Stable) public void setFederationParameters(@Nullable CfnEnvironment.FederationParametersProperty value)
      Configuration information when authentication mode is FEDERATED.
    • setFederationParameters

      @Stability(Stable) public void setFederationParameters(@Nullable IResolvable value)
      Configuration information when authentication mode is FEDERATED.
    • getKmsKeyId

      @Stability(Stable) @Nullable public String getKmsKeyId()
      The KMS key id used to encrypt in the FinSpace environment.
    • setKmsKeyId

      @Stability(Stable) public void setKmsKeyId(@Nullable String value)
      The KMS key id used to encrypt in the FinSpace environment.
    • getSuperuserParameters

      @Stability(Stable) @Nullable public Object getSuperuserParameters()
      Configuration information for the superuser.
    • setSuperuserParameters

      @Stability(Stable) public void setSuperuserParameters(@Nullable IResolvable value)
      Configuration information for the superuser.
    • setSuperuserParameters

      @Stability(Stable) public void setSuperuserParameters(@Nullable CfnEnvironment.SuperuserParametersProperty value)
      Configuration information for the superuser.