CfnDomainUnitProps Struct
Properties for defining a CfnDomainUnit.
| 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 cfnDomainUnitProps: datazone.CfnDomainUnitProps = {
domainIdentifier: 'domainIdentifier',
name: 'name',
parentDomainUnitIdentifier: 'parentDomainUnitIdentifier',
// the properties below are optional
description: 'description',
};
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_domain_unit_props = datazone.CfnDomainUnitProps(
domain_identifier="domainIdentifier",
name="name",
parent_domain_unit_identifier="parentDomainUnitIdentifier",
# the properties below are optional
description="description"
)
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.*;
CfnDomainUnitProps cfnDomainUnitProps = CfnDomainUnitProps.builder()
.domainIdentifier("domainIdentifier")
.name("name")
.parentDomainUnitIdentifier("parentDomainUnitIdentifier")
// the properties below are optional
.description("description")
.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 cfnDomainUnitProps = new CfnDomainUnitProps {
DomainIdentifier = "domainIdentifier",
Name = "name",
ParentDomainUnitIdentifier = "parentDomainUnitIdentifier",
// the properties below are optional
Description = "description"
};
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"
cfnDomainUnitProps := &CfnDomainUnitProps{
DomainIdentifier: jsii.String("domainIdentifier"),
Name: jsii.String("name"),
ParentDomainUnitIdentifier: jsii.String("parentDomainUnitIdentifier"),
// the properties below are optional
Description: jsii.String("description"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the domain unit.
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*string required #The ID of the domain where you want to crate a domain unit.
The name of the domain unit.
parentDomainUnitIdentifierstringparent_domain_unit_identifierstrparentDomainUnitIdentifierStringParentDomainUnitIdentifierstringParentDomainUnitIdentifier*string required #The ID of the parent domain unit.