Skip to content
v2.278.0

DomainUnitFilterForProjectProperty Struct ​

The domain unit filter of the project grant filter.

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 domainUnitFilterForProjectProperty: datazone.CfnPolicyGrant.DomainUnitFilterForProjectProperty = {
  domainUnit: 'domainUnit',

  // the properties below are optional
  includeChildDomainUnits: false,
};
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

domain_unit_filter_for_project_property = datazone.CfnPolicyGrant.DomainUnitFilterForProjectProperty(
    domain_unit="domainUnit",

    # the properties below are optional
    include_child_domain_units=False
)
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.*;

DomainUnitFilterForProjectProperty domainUnitFilterForProjectProperty = DomainUnitFilterForProjectProperty.builder()
        .domainUnit("domainUnit")

        // the properties below are optional
        .includeChildDomainUnits(false)
        .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 domainUnitFilterForProjectProperty = new DomainUnitFilterForProjectProperty {
    DomainUnit = "domainUnit",

    // the properties below are optional
    IncludeChildDomainUnits = false
};
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"

domainUnitFilterForProjectProperty := &DomainUnitFilterForProjectProperty{
	DomainUnit: jsii.String("domainUnit"),

	// the properties below are optional
	IncludeChildDomainUnits: jsii.Boolean(false),
}

Properties ​

domainUnitstringdomain_unitstrdomainUnitStringDomainUnitstringDomainUnit*string required #
The domain unit ID to use in the filter.
includeChildDomainUnitsoptionalboolean | IResolvableinclude_child_domain_unitsoptionaltyping.Union[bool, IResolvable]includeChildDomainUnitsoptionalBooleanIncludeChildDomainUnitsoptionalboolIncludeChildDomainUnitsoptionalinterface{} = false #
Specifies whether to include child domain units.