You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QuickSight::Types::CreateIAMPolicyAssignmentRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateIAMPolicyAssignmentRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_account_id: "AwsAccountId", # required
  assignment_name: "IAMPolicyAssignmentName", # required
  assignment_status: "ENABLED", # required, accepts ENABLED, DRAFT, DISABLED
  policy_arn: "Arn",
  identities: {
    "String" => ["IdentityName"],
  },
  namespace: "Namespace", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#assignment_nameString

The name of the assignment, also called a rule. It must be unique within an AWS account.

Returns:

  • (String)

    The name of the assignment, also called a rule.

#assignment_statusString

The status of the assignment. Possible values are as follows:

  • ENABLED - Anything specified in this assignment is used when creating the data source.

  • DISABLED - This assignment isn\'t used when creating the data source.

  • DRAFT - This assignment is an unfinished draft and isn\'t used when creating the data source.

    Possible values:

    • ENABLED
    • DRAFT
    • DISABLED

Returns:

  • (String)

    The status of the assignment.

#aws_account_idString

The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.

Returns:

  • (String)

    The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.

#identitiesHash<String,Array<String>>

The QuickSight users, groups, or both that you want to assign the policy to.

Returns:

  • (Hash<String,Array<String>>)

    The QuickSight users, groups, or both that you want to assign the policy to.

#namespaceString

The namespace that contains the assignment.

Returns:

  • (String)

    The namespace that contains the assignment.

#policy_arnString

The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.

Returns:

  • (String)

    The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.