AWS Native

Pulumi Official
Package maintained by Pulumi
v0.16.1 published on Saturday, Apr 30, 2022 by Pulumi

Assignment

Resource Type definition for SSO assignmet

Create a Assignment Resource

new Assignment(name: string, args: AssignmentArgs, opts?: CustomResourceOptions);
@overload
def Assignment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               instance_arn: Optional[str] = None,
               permission_set_arn: Optional[str] = None,
               principal_id: Optional[str] = None,
               principal_type: Optional[AssignmentPrincipalType] = None,
               target_id: Optional[str] = None,
               target_type: Optional[AssignmentTargetType] = None)
@overload
def Assignment(resource_name: str,
               args: AssignmentArgs,
               opts: Optional[ResourceOptions] = None)
func NewAssignment(ctx *Context, name string, args AssignmentArgs, opts ...ResourceOption) (*Assignment, error)
public Assignment(string name, AssignmentArgs args, CustomResourceOptions? opts = null)
public Assignment(String name, AssignmentArgs args)
public Assignment(String name, AssignmentArgs args, CustomResourceOptions options)
type: aws-native:sso:Assignment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AssignmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AssignmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AssignmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AssignmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AssignmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Assignment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Assignment resource accepts the following input properties:

InstanceArn string

The sso instance that the permission set is owned.

PermissionSetArn string

The permission set that the assignemt will be assigned

PrincipalId string

The assignee's identifier, user id/group id

PrincipalType Pulumi.AwsNative.SSO.AssignmentPrincipalType

The assignee's type, user/group

TargetId string

The account id to be provisioned.

TargetType Pulumi.AwsNative.SSO.AssignmentTargetType

The type of resource to be provsioned to, only aws account now

InstanceArn string

The sso instance that the permission set is owned.

PermissionSetArn string

The permission set that the assignemt will be assigned

PrincipalId string

The assignee's identifier, user id/group id

PrincipalType AssignmentPrincipalType

The assignee's type, user/group

TargetId string

The account id to be provisioned.

TargetType AssignmentTargetType

The type of resource to be provsioned to, only aws account now

instanceArn String

The sso instance that the permission set is owned.

permissionSetArn String

The permission set that the assignemt will be assigned

principalId String

The assignee's identifier, user id/group id

principalType AssignmentPrincipalType

The assignee's type, user/group

targetId String

The account id to be provisioned.

targetType AssignmentTargetType

The type of resource to be provsioned to, only aws account now

instanceArn string

The sso instance that the permission set is owned.

permissionSetArn string

The permission set that the assignemt will be assigned

principalId string

The assignee's identifier, user id/group id

principalType AssignmentPrincipalType

The assignee's type, user/group

targetId string

The account id to be provisioned.

targetType AssignmentTargetType

The type of resource to be provsioned to, only aws account now

instance_arn str

The sso instance that the permission set is owned.

permission_set_arn str

The permission set that the assignemt will be assigned

principal_id str

The assignee's identifier, user id/group id

principal_type AssignmentPrincipalType

The assignee's type, user/group

target_id str

The account id to be provisioned.

target_type AssignmentTargetType

The type of resource to be provsioned to, only aws account now

instanceArn String

The sso instance that the permission set is owned.

permissionSetArn String

The permission set that the assignemt will be assigned

principalId String

The assignee's identifier, user id/group id

principalType "USER" | "GROUP"

The assignee's type, user/group

targetId String

The account id to be provisioned.

targetType "AWS_ACCOUNT"

The type of resource to be provsioned to, only aws account now

Outputs

All input properties are implicitly available as output properties. Additionally, the Assignment resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

AssignmentPrincipalType

User
USER
Group
GROUP
AssignmentPrincipalTypeUser
USER
AssignmentPrincipalTypeGroup
GROUP
User
USER
Group
GROUP
User
USER
Group
GROUP
USER
USER
GROUP
GROUP
"USER"
USER
"GROUP"
GROUP

AssignmentTargetType

AwsAccount
AWS_ACCOUNT
AssignmentTargetTypeAwsAccount
AWS_ACCOUNT
AwsAccount
AWS_ACCOUNT
AwsAccount
AWS_ACCOUNT
AWS_ACCOUNT
AWS_ACCOUNT
"AWS_ACCOUNT"
AWS_ACCOUNT

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0