Class: Aws::DataZone::Types::PolicyGrantPrincipal

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb

Overview

Note:

PolicyGrantPrincipal is a union - when making an API calls you must set exactly one of the members.

Note:

PolicyGrantPrincipal is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PolicyGrantPrincipal corresponding to the set member.

The policy grant principal.

Direct Known Subclasses

DomainUnit, Group, Project, Unknown, User

Defined Under Namespace

Classes: DomainUnit, Group, Project, Unknown, User

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domain_unitTypes::DomainUnitPolicyGrantPrincipal

The domain unit of the policy grant principal.



12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 12069

class PolicyGrantPrincipal < Struct.new(
  :domain_unit,
  :group,
  :project,
  :user,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DomainUnit < PolicyGrantPrincipal; end
  class Group < PolicyGrantPrincipal; end
  class Project < PolicyGrantPrincipal; end
  class User < PolicyGrantPrincipal; end
  class Unknown < PolicyGrantPrincipal; end
end

#groupTypes::GroupPolicyGrantPrincipal

The group of the policy grant principal.



12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 12069

class PolicyGrantPrincipal < Struct.new(
  :domain_unit,
  :group,
  :project,
  :user,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DomainUnit < PolicyGrantPrincipal; end
  class Group < PolicyGrantPrincipal; end
  class Project < PolicyGrantPrincipal; end
  class User < PolicyGrantPrincipal; end
  class Unknown < PolicyGrantPrincipal; end
end

#projectTypes::ProjectPolicyGrantPrincipal

The project of the policy grant principal.



12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 12069

class PolicyGrantPrincipal < Struct.new(
  :domain_unit,
  :group,
  :project,
  :user,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DomainUnit < PolicyGrantPrincipal; end
  class Group < PolicyGrantPrincipal; end
  class Project < PolicyGrantPrincipal; end
  class User < PolicyGrantPrincipal; end
  class Unknown < PolicyGrantPrincipal; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



12069
12070
12071
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 12069

def unknown
  @unknown
end

#userTypes::UserPolicyGrantPrincipal

The user of the policy grant principal.



12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 12069

class PolicyGrantPrincipal < Struct.new(
  :domain_unit,
  :group,
  :project,
  :user,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DomainUnit < PolicyGrantPrincipal; end
  class Group < PolicyGrantPrincipal; end
  class Project < PolicyGrantPrincipal; end
  class User < PolicyGrantPrincipal; end
  class Unknown < PolicyGrantPrincipal; end
end