Class: Aws::CloudWatchOmni::Types::CreateAccessGrantInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#domain_idString

The ID of the domain that contains the space.

Returns:

  • (String)


766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name that identifies the access grant.

Returns:

  • (String)


766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#permissionString

The permission to grant. Exactly one permission is granted per request.

Returns:

  • (String)


766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#principalTypes::AccessGrantPrincipal

The principal receiving the grant.



766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#scoped_actionsArray<Types::ScopedActions>

Groups of actions to allow, each with the resource scopes and conditions that limit those actions.

Returns:



766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#space_idString

The ID of the space to scope the grant to.

Returns:

  • (String)


766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags to associate with the access grant.

Returns:

  • (Hash<String,String>)


766
767
768
769
770
771
772
773
774
775
776
777
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 766

class CreateAccessGrantInput < Struct.new(
  :domain_id,
  :space_id,
  :name,
  :principal,
  :permission,
  :scoped_actions,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end