Class: Aws::IoTSiteWise::Types::CreateAccessPolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotsitewise/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_policy_identityTypes::Identity

The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.

Returns:



2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2523

class CreateAccessPolicyRequest < Struct.new(
  :access_policy_identity,
  :access_policy_resource,
  :access_policy_permission,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#access_policy_permissionString

The permission level for this access policy. Note that a project ‘ADMINISTRATOR` is also known as a project owner.

Returns:

  • (String)


2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2523

class CreateAccessPolicyRequest < Struct.new(
  :access_policy_identity,
  :access_policy_resource,
  :access_policy_permission,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#access_policy_resourceTypes::Resource

The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.

Returns:



2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2523

class CreateAccessPolicyRequest < Struct.new(
  :access_policy_identity,
  :access_policy_resource,
  :access_policy_permission,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don’t reuse this client token if a new idempotent request is required.

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

Returns:

  • (String)


2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2523

class CreateAccessPolicyRequest < Struct.new(
  :access_policy_identity,
  :access_policy_resource,
  :access_policy_permission,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A list of key-value pairs that contain metadata for the access policy. For more information, see [Tagging your IoT SiteWise resources] in the *IoT SiteWise User Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html

Returns:

  • (Hash<String,String>)


2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2523

class CreateAccessPolicyRequest < Struct.new(
  :access_policy_identity,
  :access_policy_resource,
  :access_policy_permission,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end