Skip to content
v2.277.0

CfnEnvironmentProfileProps Struct ​

Properties for defining a CfnEnvironmentProfile.

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 cfnEnvironmentProfileProps: datazone.CfnEnvironmentProfileProps = {
  awsAccountId: 'awsAccountId',
  awsAccountRegion: 'awsAccountRegion',
  domainIdentifier: 'domainIdentifier',
  environmentBlueprintIdentifier: 'environmentBlueprintIdentifier',
  name: 'name',
  projectIdentifier: 'projectIdentifier',

  // the properties below are optional
  description: 'description',
  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_profile_props = datazone.CfnEnvironmentProfileProps(
    aws_account_id="awsAccountId",
    aws_account_region="awsAccountRegion",
    domain_identifier="domainIdentifier",
    environment_blueprint_identifier="environmentBlueprintIdentifier",
    name="name",
    project_identifier="projectIdentifier",

    # the properties below are optional
    description="description",
    user_parameters=[datazone.CfnEnvironmentProfile.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.*;

CfnEnvironmentProfileProps cfnEnvironmentProfileProps = CfnEnvironmentProfileProps.builder()
        .awsAccountId("awsAccountId")
        .awsAccountRegion("awsAccountRegion")
        .domainIdentifier("domainIdentifier")
        .environmentBlueprintIdentifier("environmentBlueprintIdentifier")
        .name("name")
        .projectIdentifier("projectIdentifier")

        // the properties below are optional
        .description("description")
        .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 cfnEnvironmentProfileProps = new CfnEnvironmentProfileProps {
    AwsAccountId = "awsAccountId",
    AwsAccountRegion = "awsAccountRegion",
    DomainIdentifier = "domainIdentifier",
    EnvironmentBlueprintIdentifier = "environmentBlueprintIdentifier",
    Name = "name",
    ProjectIdentifier = "projectIdentifier",

    // the properties below are optional
    Description = "description",
    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"

cfnEnvironmentProfileProps := &CfnEnvironmentProfileProps{
	AwsAccountId: jsii.String("awsAccountId"),
	AwsAccountRegion: jsii.String("awsAccountRegion"),
	DomainIdentifier: jsii.String("domainIdentifier"),
	EnvironmentBlueprintIdentifier: jsii.String("environmentBlueprintIdentifier"),
	Name: jsii.String("name"),
	ProjectIdentifier: jsii.String("projectIdentifier"),

	// the properties below are optional
	Description: jsii.String("description"),
	UserParameters: []interface{}{
		&EnvironmentParameterProperty{
			Name: jsii.String("name"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

awsAccountIdstringaws_account_idstrawsAccountIdStringAwsAccountIdstringAwsAccountId*string required #
The identifier of an AWS account in which an environment profile exists.
awsAccountRegionstringaws_account_regionstrawsAccountRegionStringAwsAccountRegionstringAwsAccountRegion*string required #
The AWS Region in which an environment profile exists.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the environment profile.
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*string required #
The identifier of the Amazon DataZone domain in which the environment profile exists.
environmentBlueprintIdentifierstringenvironment_blueprint_identifierstrenvironmentBlueprintIdentifierStringEnvironmentBlueprintIdentifierstringEnvironmentBlueprintIdentifier*string required #
The identifier of a blueprint with which an environment profile is created.
namestringnamestrnameStringNamestringName*string required #
The name of the environment profile.
projectIdentifierstringproject_identifierstrprojectIdentifierStringProjectIdentifierstringProjectIdentifier*string required #
The identifier of a project in which an environment profile exists.
userParametersoptionalIResolvable | IResolvable | CfnEnvironmentProfile.EnvironmentParameterProperty[]user_parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EnvironmentParameterProperty]]]userParametersoptionalIResolvableUserParametersoptionalIResolvableUserParametersoptionalinterface{} #
The user parameters of this Amazon DataZone environment profile.