OwnerPropertiesProperty Struct
The properties of a domain unit's owner.
| 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 ownerPropertiesProperty: datazone.CfnOwner.OwnerPropertiesProperty = {
group: {
groupIdentifier: 'groupIdentifier',
},
user: {
userIdentifier: 'userIdentifier',
},
};
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
owner_properties_property = datazone.CfnOwner.OwnerPropertiesProperty(
group=datazone.CfnOwner.OwnerGroupPropertiesProperty(
group_identifier="groupIdentifier"
),
user=datazone.CfnOwner.OwnerUserPropertiesProperty(
user_identifier="userIdentifier"
)
)
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.*;
OwnerPropertiesProperty ownerPropertiesProperty = OwnerPropertiesProperty.builder()
.group(OwnerGroupPropertiesProperty.builder()
.groupIdentifier("groupIdentifier")
.build())
.user(OwnerUserPropertiesProperty.builder()
.userIdentifier("userIdentifier")
.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 ownerPropertiesProperty = new OwnerPropertiesProperty {
Group = new OwnerGroupPropertiesProperty {
GroupIdentifier = "groupIdentifier"
},
User = new OwnerUserPropertiesProperty {
UserIdentifier = "userIdentifier"
}
};
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"
ownerPropertiesProperty := &OwnerPropertiesProperty{
Group: &OwnerGroupPropertiesProperty{
GroupIdentifier: jsii.String("groupIdentifier"),
},
User: &OwnerUserPropertiesProperty{
UserIdentifier: jsii.String("userIdentifier"),
},
}
Properties
groupoptionalIResolvable | CfnOwner.groupoptionaltyping.Union[IResolvable, OwnerGroupPropertiesProperty]groupoptionalIResolvableGroupoptionalIResolvableGroupoptionalinterface{} #Specifies that the domain unit owner is a group.
useroptionalIResolvable | CfnOwner.useroptionaltyping.Union[IResolvable, OwnerUserPropertiesProperty]useroptionalIResolvableUseroptionalIResolvableUseroptionalinterface{} #Specifies that the domain unit owner is a user.