Show / Hide Table of Contents

Class CfnPolicyGrantProps

Properties for defining a CfnPolicyGrant.

Inheritance
object
CfnPolicyGrantProps
Implements
ICfnPolicyGrantProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.DataZone
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPolicyGrantProps : ICfnPolicyGrantProps
Syntax (vb)
Public Class CfnPolicyGrantProps Implements ICfnPolicyGrantProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html

ExampleMetadata: fixture=_generated

Examples
// 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 allDomainUnitsGrantFilter;
             var allUsersGrantFilter;
             var createEnvironment;
             var createEnvironmentFromBlueprint;
             var delegateCreateEnvironmentProfile;

             var cfnPolicyGrantProps = new CfnPolicyGrantProps {
                 DomainIdentifier = "domainIdentifier",
                 EntityIdentifier = "entityIdentifier",
                 EntityType = "entityType",
                 PolicyType = "policyType",

                 // the properties below are optional
                 Detail = new PolicyGrantDetailProperty {
                     AddToProjectMemberPool = new AddToProjectMemberPoolPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateAssetType = new CreateAssetTypePolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateDomainUnit = new CreateDomainUnitPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateEnvironment = createEnvironment,
                     CreateEnvironmentFromBlueprint = createEnvironmentFromBlueprint,
                     CreateEnvironmentProfile = new CreateEnvironmentProfilePolicyGrantDetailProperty {
                         DomainUnitId = "domainUnitId"
                     },
                     CreateFormType = new CreateFormTypePolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateGlossary = new CreateGlossaryPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateProject = new CreateProjectPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateProjectFromProjectProfile = new CreateProjectFromProjectProfilePolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false,
                         ProjectProfiles = new [] { "projectProfiles" }
                     },
                     DelegateCreateEnvironmentProfile = delegateCreateEnvironmentProfile,
                     OverrideDomainUnitOwners = new OverrideDomainUnitOwnersPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     OverrideProjectOwners = new OverrideProjectOwnersPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     }
                 },
                 Principal = new PolicyGrantPrincipalProperty {
                     DomainUnit = new DomainUnitPolicyGrantPrincipalProperty {
                         DomainUnitDesignation = "domainUnitDesignation",
                         DomainUnitGrantFilter = new DomainUnitGrantFilterProperty {
                             AllDomainUnitsGrantFilter = allDomainUnitsGrantFilter
                         },
                         DomainUnitIdentifier = "domainUnitIdentifier"
                     },
                     Group = new GroupPolicyGrantPrincipalProperty {
                         GroupIdentifier = "groupIdentifier"
                     },
                     Project = new ProjectPolicyGrantPrincipalProperty {
                         ProjectDesignation = "projectDesignation",
                         ProjectGrantFilter = new ProjectGrantFilterProperty {
                             DomainUnitFilter = new DomainUnitFilterForProjectProperty {
                                 DomainUnit = "domainUnit",

                                 // the properties below are optional
                                 IncludeChildDomainUnits = false
                             }
                         },
                         ProjectIdentifier = "projectIdentifier"
                     },
                     User = new UserPolicyGrantPrincipalProperty {
                         AllUsersGrantFilter = allUsersGrantFilter,
                         UserIdentifier = "userIdentifier"
                     }
                 }
             };

Synopsis

Constructors

CfnPolicyGrantProps()

Properties for defining a CfnPolicyGrant.

Properties

Detail

The details of the policy grant member.

DomainIdentifier

The ID of the domain where you want to add a policy grant.

EntityIdentifier

The ID of the entity (resource) to which you want to add a policy grant.

EntityType

The type of entity (resource) to which the grant is added.

PolicyType

The type of policy that you want to grant.

Principal

The principal of the policy grant member.

Constructors

CfnPolicyGrantProps()

Properties for defining a CfnPolicyGrant.

public CfnPolicyGrantProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html

ExampleMetadata: fixture=_generated

Examples
// 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 allDomainUnitsGrantFilter;
             var allUsersGrantFilter;
             var createEnvironment;
             var createEnvironmentFromBlueprint;
             var delegateCreateEnvironmentProfile;

             var cfnPolicyGrantProps = new CfnPolicyGrantProps {
                 DomainIdentifier = "domainIdentifier",
                 EntityIdentifier = "entityIdentifier",
                 EntityType = "entityType",
                 PolicyType = "policyType",

                 // the properties below are optional
                 Detail = new PolicyGrantDetailProperty {
                     AddToProjectMemberPool = new AddToProjectMemberPoolPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateAssetType = new CreateAssetTypePolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateDomainUnit = new CreateDomainUnitPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateEnvironment = createEnvironment,
                     CreateEnvironmentFromBlueprint = createEnvironmentFromBlueprint,
                     CreateEnvironmentProfile = new CreateEnvironmentProfilePolicyGrantDetailProperty {
                         DomainUnitId = "domainUnitId"
                     },
                     CreateFormType = new CreateFormTypePolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateGlossary = new CreateGlossaryPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateProject = new CreateProjectPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     CreateProjectFromProjectProfile = new CreateProjectFromProjectProfilePolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false,
                         ProjectProfiles = new [] { "projectProfiles" }
                     },
                     DelegateCreateEnvironmentProfile = delegateCreateEnvironmentProfile,
                     OverrideDomainUnitOwners = new OverrideDomainUnitOwnersPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     },
                     OverrideProjectOwners = new OverrideProjectOwnersPolicyGrantDetailProperty {
                         IncludeChildDomainUnits = false
                     }
                 },
                 Principal = new PolicyGrantPrincipalProperty {
                     DomainUnit = new DomainUnitPolicyGrantPrincipalProperty {
                         DomainUnitDesignation = "domainUnitDesignation",
                         DomainUnitGrantFilter = new DomainUnitGrantFilterProperty {
                             AllDomainUnitsGrantFilter = allDomainUnitsGrantFilter
                         },
                         DomainUnitIdentifier = "domainUnitIdentifier"
                     },
                     Group = new GroupPolicyGrantPrincipalProperty {
                         GroupIdentifier = "groupIdentifier"
                     },
                     Project = new ProjectPolicyGrantPrincipalProperty {
                         ProjectDesignation = "projectDesignation",
                         ProjectGrantFilter = new ProjectGrantFilterProperty {
                             DomainUnitFilter = new DomainUnitFilterForProjectProperty {
                                 DomainUnit = "domainUnit",

                                 // the properties below are optional
                                 IncludeChildDomainUnits = false
                             }
                         },
                         ProjectIdentifier = "projectIdentifier"
                     },
                     User = new UserPolicyGrantPrincipalProperty {
                         AllUsersGrantFilter = allUsersGrantFilter,
                         UserIdentifier = "userIdentifier"
                     }
                 }
             };

Properties

Detail

The details of the policy grant member.

public object? Detail { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html#cfn-datazone-policygrant-detail

Type union: either IResolvable or CfnPolicyGrant.IPolicyGrantDetailProperty

DomainIdentifier

The ID of the domain where you want to add a policy grant.

public string DomainIdentifier { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html#cfn-datazone-policygrant-domainidentifier

EntityIdentifier

The ID of the entity (resource) to which you want to add a policy grant.

public string EntityIdentifier { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html#cfn-datazone-policygrant-entityidentifier

EntityType

The type of entity (resource) to which the grant is added.

public string EntityType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html#cfn-datazone-policygrant-entitytype

PolicyType

The type of policy that you want to grant.

public string PolicyType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html#cfn-datazone-policygrant-policytype

Principal

The principal of the policy grant member.

public object? Principal { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html#cfn-datazone-policygrant-principal

Type union: either IResolvable or CfnPolicyGrant.IPolicyGrantPrincipalProperty

Implements

ICfnPolicyGrantProps
Back to top Generated by DocFX