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
- Struct
- Aws::QuickSight::Types::CreateIAMPolicyAssignmentRequest
- Defined in:
- (unknown)
Overview
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
-
#assignment_name ⇒ String
The name of the assignment, also called a rule.
-
#assignment_status ⇒ String
The status of the assignment.
-
#aws_account_id ⇒ String
The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.
-
#identities ⇒ Hash<String,Array<String>>
The QuickSight users, groups, or both that you want to assign the policy to.
-
#namespace ⇒ String
The namespace that contains the assignment.
-
#policy_arn ⇒ String
The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.
Instance Attribute Details
#assignment_name ⇒ String
The name of the assignment, also called a rule. It must be unique within an AWS account.
#assignment_status ⇒ String
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
#aws_account_id ⇒ String
The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.
#identities ⇒ Hash<String,Array<String>>
The QuickSight users, groups, or both that you want to assign the policy to.
#namespace ⇒ String
The namespace that contains the assignment.
#policy_arn ⇒ String
The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.