EnvironmentConfigurationProperty Struct
The configuration of an environment.
| 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 environmentConfigurationProperty: datazone.CfnProjectProfile.EnvironmentConfigurationProperty = {
awsRegion: {
regionName: 'regionName',
},
environmentBlueprintId: 'environmentBlueprintId',
name: 'name',
// the properties below are optional
awsAccount: {
awsAccountId: 'awsAccountId',
},
configurationParameters: {
parameterOverrides: [{
isEditable: false,
name: 'name',
value: 'value',
}],
resolvedParameters: [{
isEditable: false,
name: 'name',
value: 'value',
}],
ssmPath: 'ssmPath',
},
deploymentMode: 'deploymentMode',
deploymentOrder: 123,
description: 'description',
environmentConfigurationId: 'environmentConfigurationId',
};
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
environment_configuration_property = datazone.CfnProjectProfile.EnvironmentConfigurationProperty(
aws_region=datazone.CfnProjectProfile.RegionProperty(
region_name="regionName"
),
environment_blueprint_id="environmentBlueprintId",
name="name",
# the properties below are optional
aws_account=datazone.CfnProjectProfile.AwsAccountProperty(
aws_account_id="awsAccountId"
),
configuration_parameters=datazone.CfnProjectProfile.EnvironmentConfigurationParametersDetailsProperty(
parameter_overrides=[datazone.CfnProjectProfile.EnvironmentConfigurationParameterProperty(
is_editable=False,
name="name",
value="value"
)],
resolved_parameters=[datazone.CfnProjectProfile.EnvironmentConfigurationParameterProperty(
is_editable=False,
name="name",
value="value"
)],
ssm_path="ssmPath"
),
deployment_mode="deploymentMode",
deployment_order=123,
description="description",
environment_configuration_id="environmentConfigurationId"
)
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.*;
EnvironmentConfigurationProperty environmentConfigurationProperty = EnvironmentConfigurationProperty.builder()
.awsRegion(RegionProperty.builder()
.regionName("regionName")
.build())
.environmentBlueprintId("environmentBlueprintId")
.name("name")
// the properties below are optional
.awsAccount(AwsAccountProperty.builder()
.awsAccountId("awsAccountId")
.build())
.configurationParameters(EnvironmentConfigurationParametersDetailsProperty.builder()
.parameterOverrides(List.of(EnvironmentConfigurationParameterProperty.builder()
.isEditable(false)
.name("name")
.value("value")
.build()))
.resolvedParameters(List.of(EnvironmentConfigurationParameterProperty.builder()
.isEditable(false)
.name("name")
.value("value")
.build()))
.ssmPath("ssmPath")
.build())
.deploymentMode("deploymentMode")
.deploymentOrder(123)
.description("description")
.environmentConfigurationId("environmentConfigurationId")
.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 environmentConfigurationProperty = new EnvironmentConfigurationProperty {
AwsRegion = new RegionProperty {
RegionName = "regionName"
},
EnvironmentBlueprintId = "environmentBlueprintId",
Name = "name",
// the properties below are optional
AwsAccount = new AwsAccountProperty {
AwsAccountId = "awsAccountId"
},
ConfigurationParameters = new EnvironmentConfigurationParametersDetailsProperty {
ParameterOverrides = new [] { new EnvironmentConfigurationParameterProperty {
IsEditable = false,
Name = "name",
Value = "value"
} },
ResolvedParameters = new [] { new EnvironmentConfigurationParameterProperty {
IsEditable = false,
Name = "name",
Value = "value"
} },
SsmPath = "ssmPath"
},
DeploymentMode = "deploymentMode",
DeploymentOrder = 123,
Description = "description",
EnvironmentConfigurationId = "environmentConfigurationId"
};
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"
environmentConfigurationProperty := &EnvironmentConfigurationProperty{
AwsRegion: &RegionProperty{
RegionName: jsii.String("regionName"),
},
EnvironmentBlueprintId: jsii.String("environmentBlueprintId"),
Name: jsii.String("name"),
// the properties below are optional
AwsAccount: &AwsAccountProperty{
AwsAccountId: jsii.String("awsAccountId"),
},
ConfigurationParameters: &EnvironmentConfigurationParametersDetailsProperty{
ParameterOverrides: []interface{}{
&EnvironmentConfigurationParameterProperty{
IsEditable: jsii.Boolean(false),
Name: jsii.String("name"),
Value: jsii.String("value"),
},
},
ResolvedParameters: []interface{}{
&EnvironmentConfigurationParameterProperty{
IsEditable: jsii.Boolean(false),
Name: jsii.String("name"),
Value: jsii.String("value"),
},
},
SsmPath: jsii.String("ssmPath"),
},
DeploymentMode: jsii.String("deploymentMode"),
DeploymentOrder: jsii.Number(123),
Description: jsii.String("description"),
EnvironmentConfigurationId: jsii.String("environmentConfigurationId"),
}
Properties
awsAccountoptionalIResolvable | CfnProjectProfile.aws_accountoptionaltyping.Union[IResolvable, AwsAccountProperty]awsAccountoptionalIResolvableAwsAccountoptionalIResolvableAwsAccountoptionalinterface{} #The AWS account of the environment.
awsRegionIResolvable | CfnProjectProfile.RegionPropertyaws_regiontyping.Union[IResolvable, RegionProperty]awsRegionIResolvableAwsRegionIResolvableAwsRegioninterface{} required #The AWS Region of the environment.
configurationParametersoptionalIResolvable | CfnProjectProfile.configuration_parametersoptionaltyping.Union[IResolvable, EnvironmentConfigurationParametersDetailsProperty]configurationParametersoptionalIResolvableConfigurationParametersoptionalIResolvableConfigurationParametersoptionalinterface{} #The configuration parameters of the environment.
deploymentModeoptionalstringdeployment_modeoptionalstrdeploymentModeoptionalStringDeploymentModeoptionalstringDeploymentModeoptional*string #The deployment mode of the environment.
deploymentOrderoptionalnumberdeployment_orderoptionalint | floatdeploymentOrderoptionalNumberDeploymentOrderoptionaldoubleDeploymentOrderoptional*float64 #The deployment order of the environment.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The environment description.
environmentBlueprintIdstringenvironment_blueprint_idstrenvironmentBlueprintIdStringEnvironmentBlueprintIdstringEnvironmentBlueprintId*string required #The environment blueprint ID.
environmentConfigurationIdoptionalstringenvironment_configuration_idoptionalstrenvironmentConfigurationIdoptionalStringEnvironmentConfigurationIdoptionalstringEnvironmentConfigurationIdoptional*string #The environment name.