CfnEnvironmentProps Struct
Properties for defining a CfnEnvironment.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const cfnEnvironmentProps: datazone.CfnEnvironmentProps = {
domainIdentifier: 'domainIdentifier',
name: 'name',
projectIdentifier: 'projectIdentifier',
// the properties below are optional
deploymentOrder: 123,
description: 'description',
environmentAccountIdentifier: 'environmentAccountIdentifier',
environmentAccountRegion: 'environmentAccountRegion',
environmentBlueprintIdentifier: 'environmentBlueprintIdentifier',
environmentConfigurationId: 'environmentConfigurationId',
environmentProfileIdentifier: 'environmentProfileIdentifier',
environmentRoleArn: 'environmentRoleArn',
glossaryTerms: ['glossaryTerms'],
userParameters: [{
name: 'name',
value: 'value',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datazone as datazone
cfn_environment_props = datazone.CfnEnvironmentProps(
domain_identifier="domainIdentifier",
name="name",
project_identifier="projectIdentifier",
# the properties below are optional
deployment_order=123,
description="description",
environment_account_identifier="environmentAccountIdentifier",
environment_account_region="environmentAccountRegion",
environment_blueprint_identifier="environmentBlueprintIdentifier",
environment_configuration_id="environmentConfigurationId",
environment_profile_identifier="environmentProfileIdentifier",
environment_role_arn="environmentRoleArn",
glossary_terms=["glossaryTerms"],
user_parameters=[datazone.CfnEnvironment.EnvironmentParameterProperty(
name="name",
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.datazone.*;
CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder()
.domainIdentifier("domainIdentifier")
.name("name")
.projectIdentifier("projectIdentifier")
// the properties below are optional
.deploymentOrder(123)
.description("description")
.environmentAccountIdentifier("environmentAccountIdentifier")
.environmentAccountRegion("environmentAccountRegion")
.environmentBlueprintIdentifier("environmentBlueprintIdentifier")
.environmentConfigurationId("environmentConfigurationId")
.environmentProfileIdentifier("environmentProfileIdentifier")
.environmentRoleArn("environmentRoleArn")
.glossaryTerms(List.of("glossaryTerms"))
.userParameters(List.of(EnvironmentParameterProperty.builder()
.name("name")
.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.DataZone;
var cfnEnvironmentProps = new CfnEnvironmentProps {
DomainIdentifier = "domainIdentifier",
Name = "name",
ProjectIdentifier = "projectIdentifier",
// the properties below are optional
DeploymentOrder = 123,
Description = "description",
EnvironmentAccountIdentifier = "environmentAccountIdentifier",
EnvironmentAccountRegion = "environmentAccountRegion",
EnvironmentBlueprintIdentifier = "environmentBlueprintIdentifier",
EnvironmentConfigurationId = "environmentConfigurationId",
EnvironmentProfileIdentifier = "environmentProfileIdentifier",
EnvironmentRoleArn = "environmentRoleArn",
GlossaryTerms = new [] { "glossaryTerms" },
UserParameters = new [] { new EnvironmentParameterProperty {
Name = "name",
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{
DomainIdentifier: jsii.String("domainIdentifier"),
Name: jsii.String("name"),
ProjectIdentifier: jsii.String("projectIdentifier"),
// the properties below are optional
DeploymentOrder: jsii.Number(123),
Description: jsii.String("description"),
EnvironmentAccountIdentifier: jsii.String("environmentAccountIdentifier"),
EnvironmentAccountRegion: jsii.String("environmentAccountRegion"),
EnvironmentBlueprintIdentifier: jsii.String("environmentBlueprintIdentifier"),
EnvironmentConfigurationId: jsii.String("environmentConfigurationId"),
EnvironmentProfileIdentifier: jsii.String("environmentProfileIdentifier"),
EnvironmentRoleArn: jsii.String("environmentRoleArn"),
GlossaryTerms: []*string{
jsii.String("glossaryTerms"),
},
UserParameters: []interface{}{
&EnvironmentParameterProperty{
Name: jsii.String("name"),
Value: jsii.String("value"),
},
},
}
Properties
deploymentOrderoptionalnumberdeployment_orderoptionalint | floatdeploymentOrderoptionalNumberDeploymentOrderoptionaldoubleDeploymentOrderoptional*float64 #The deployment order for the environment.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the environment.
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*string required #The identifier of the Amazon DataZone domain in which the environment is created.
environmentAccountIdentifieroptionalstringenvironment_account_identifieroptionalstrenvironmentAccountIdentifieroptionalStringEnvironmentAccountIdentifieroptionalstringEnvironmentAccountIdentifieroptional*string #The identifier of the AWS account in which an environment exists.
environmentAccountRegionoptionalstringenvironment_account_regionoptionalstrenvironmentAccountRegionoptionalStringEnvironmentAccountRegionoptionalstringEnvironmentAccountRegionoptional*string #The AWS Region in which an environment exists.
environmentBlueprintIdentifieroptionalstringenvironment_blueprint_identifieroptionalstrenvironmentBlueprintIdentifieroptionalStringEnvironmentBlueprintIdentifieroptionalstringEnvironmentBlueprintIdentifieroptional*string #The identifier of the environment blueprint.
environmentConfigurationIdoptionalstringenvironment_configuration_idoptionalstrenvironmentConfigurationIdoptionalStringEnvironmentConfigurationIdoptionalstringEnvironmentConfigurationIdoptional*string #The identifier of the environment configuration.
environmentProfileIdentifieroptionalstringenvironment_profile_identifieroptionalstrenvironmentProfileIdentifieroptionalStringEnvironmentProfileIdentifieroptionalstringEnvironmentProfileIdentifieroptional*string #The identifier of the environment profile that is used to create this Amazon DataZone environment.
environmentRoleArnoptionalstringenvironment_role_arnoptionalstrenvironmentRoleArnoptionalStringEnvironmentRoleArnoptionalstringEnvironmentRoleArnoptional*string #The ARN of the environment role.
glossaryTermsoptionalstring[]glossary_termsoptionaltyping.List[str]glossaryTermsoptionalList<String>GlossaryTermsoptionalstring[]GlossaryTermsoptional*[]*string #The glossary terms that can be used in this Amazon DataZone environment.
The name of the Amazon DataZone environment.
projectIdentifierstringproject_identifierstrprojectIdentifierStringProjectIdentifierstringProjectIdentifier*string required #The identifier of the Amazon DataZone project in which this environment is created.
userParametersoptionalIResolvable | IResolvable | CfnEnvironment.user_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EnvironmentParameterProperty]]]userParametersoptionalIResolvableUserParametersoptionalIResolvableUserParametersoptionalinterface{} #The user parameters of this Amazon DataZone environment.