Skip to content
v2.277.0

CfnEnvironmentProps Struct ​

Properties for defining a CfnEnvironment.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_finspace as finspace } from 'aws-cdk-lib';
const cfnEnvironmentProps: finspace.CfnEnvironmentProps = {
  name: 'name',

  // the properties below are optional
  dataBundles: ['dataBundles'],
  description: 'description',
  federationMode: 'federationMode',
  federationParameters: {
    applicationCallBackUrl: 'applicationCallBackUrl',
    attributeMap: [{
      key: 'key',
      value: 'value',
    }],
    federationProviderName: 'federationProviderName',
    federationUrn: 'federationUrn',
    samlMetadataDocument: 'samlMetadataDocument',
    samlMetadataUrl: 'samlMetadataUrl',
  },
  kmsKeyId: 'kmsKeyId',
  superuserParameters: {
    emailAddress: 'emailAddress',
    firstName: 'firstName',
    lastName: 'lastName',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_finspace as finspace

cfn_environment_props = finspace.CfnEnvironmentProps(
    name="name",

    # the properties below are optional
    data_bundles=["dataBundles"],
    description="description",
    federation_mode="federationMode",
    federation_parameters=finspace.CfnEnvironment.FederationParametersProperty(
        application_call_back_url="applicationCallBackUrl",
        attribute_map=[finspace.CfnEnvironment.AttributeMapItemsProperty(
            key="key",
            value="value"
        )],
        federation_provider_name="federationProviderName",
        federation_urn="federationUrn",
        saml_metadata_document="samlMetadataDocument",
        saml_metadata_url="samlMetadataUrl"
    ),
    kms_key_id="kmsKeyId",
    superuser_parameters=finspace.CfnEnvironment.SuperuserParametersProperty(
        email_address="emailAddress",
        first_name="firstName",
        last_name="lastName"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// 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.*;

CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder()
        .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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FinSpace;

var cfnEnvironmentProps = new CfnEnvironmentProps {
    Name = "name",

    // the properties below are optional
    DataBundles = new [] { "dataBundles" },
    Description = "description",
    FederationMode = "federationMode",
    FederationParameters = new FederationParametersProperty {
        ApplicationCallBackUrl = "applicationCallBackUrl",
        AttributeMap = new [] { new AttributeMapItemsProperty {
            Key = "key",
            Value = "value"
        } },
        FederationProviderName = "federationProviderName",
        FederationUrn = "federationUrn",
        SamlMetadataDocument = "samlMetadataDocument",
        SamlMetadataUrl = "samlMetadataUrl"
    },
    KmsKeyId = "kmsKeyId",
    SuperuserParameters = new SuperuserParametersProperty {
        EmailAddress = "emailAddress",
        FirstName = "firstName",
        LastName = "lastName"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnEnvironmentProps := &CfnEnvironmentProps{
	Name: jsii.String("name"),

	// the properties below are optional
	DataBundles: []*string{
		jsii.String("dataBundles"),
	},
	Description: jsii.String("description"),
	FederationMode: jsii.String("federationMode"),
	FederationParameters: &FederationParametersProperty{
		ApplicationCallBackUrl: jsii.String("applicationCallBackUrl"),
		AttributeMap: []interface{}{
			&AttributeMapItemsProperty{
				Key: jsii.String("key"),
				Value: jsii.String("value"),
			},
		},
		FederationProviderName: jsii.String("federationProviderName"),
		FederationUrn: jsii.String("federationUrn"),
		SamlMetadataDocument: jsii.String("samlMetadataDocument"),
		SamlMetadataUrl: jsii.String("samlMetadataUrl"),
	},
	KmsKeyId: jsii.String("kmsKeyId"),
	SuperuserParameters: &SuperuserParametersProperty{
		EmailAddress: jsii.String("emailAddress"),
		FirstName: jsii.String("firstName"),
		LastName: jsii.String("lastName"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

dataBundlesoptionalstring[]data_bundlesoptionaltyping.List[str]dataBundlesoptionalList<String>DataBundlesoptionalstring[]DataBundlesoptional*[]*stringdeprecated#
this property has been deprecated
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the FinSpace environment.
federationModeoptionalstringfederation_modeoptionalstrfederationModeoptionalStringFederationModeoptionalstringFederationModeoptional*string#
The authentication mode for the environment.
federationParametersoptionalIResolvable | CfnEnvironment.FederationParametersPropertyfederation_parametersoptionaltyping.Union[IResolvable, FederationParametersProperty]federationParametersoptionalIResolvableFederationParametersoptionalIResolvableFederationParametersoptionalinterface{}#
Configuration information when authentication mode is FEDERATED.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string#
The KMS key id used to encrypt in the FinSpace environment.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the FinSpace environment.
superuserParametersoptionalIResolvable | CfnEnvironment.SuperuserParametersPropertysuperuser_parametersoptionaltyping.Union[IResolvable, SuperuserParametersProperty]superuserParametersoptionalIResolvableSuperuserParametersoptionalIResolvableSuperuserParametersoptionalinterface{}#
Configuration information for the superuser.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
An array of key-value pairs to apply to this resource.