1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. sso
  5. Assignment

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.sso.Assignment

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for SSO assignmet

Create Assignment Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Assignment(name: string, args: AssignmentArgs, opts?: CustomResourceOptions);
@overload
def Assignment(resource_name: str,
               args: AssignmentArgs,
               opts: Optional[ResourceOptions] = None)

@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)
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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AssignmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. AssignmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AssignmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Assignment resource accepts the following input properties:

InstanceArn This property is required. string
The sso instance that the permission set is owned.
PermissionSetArn This property is required. string
The permission set that the assignemt will be assigned
PrincipalId This property is required. string
The assignee's identifier, user id/group id
PrincipalType This property is required. Pulumi.AwsNative.Sso.AssignmentPrincipalType
The assignee's type, user/group
TargetId This property is required. string
The account id to be provisioned.
TargetType This property is required. Pulumi.AwsNative.Sso.AssignmentTargetType
The type of resource to be provsioned to, only aws account now
InstanceArn This property is required. string
The sso instance that the permission set is owned.
PermissionSetArn This property is required. string
The permission set that the assignemt will be assigned
PrincipalId This property is required. string
The assignee's identifier, user id/group id
PrincipalType This property is required. AssignmentPrincipalType
The assignee's type, user/group
TargetId This property is required. string
The account id to be provisioned.
TargetType This property is required. AssignmentTargetType
The type of resource to be provsioned to, only aws account now
instanceArn This property is required. String
The sso instance that the permission set is owned.
permissionSetArn This property is required. String
The permission set that the assignemt will be assigned
principalId This property is required. String
The assignee's identifier, user id/group id
principalType This property is required. AssignmentPrincipalType
The assignee's type, user/group
targetId This property is required. String
The account id to be provisioned.
targetType This property is required. AssignmentTargetType
The type of resource to be provsioned to, only aws account now
instanceArn This property is required. string
The sso instance that the permission set is owned.
permissionSetArn This property is required. string
The permission set that the assignemt will be assigned
principalId This property is required. string
The assignee's identifier, user id/group id
principalType This property is required. AssignmentPrincipalType
The assignee's type, user/group
targetId This property is required. string
The account id to be provisioned.
targetType This property is required. AssignmentTargetType
The type of resource to be provsioned to, only aws account now
instance_arn This property is required. str
The sso instance that the permission set is owned.
permission_set_arn This property is required. str
The permission set that the assignemt will be assigned
principal_id This property is required. str
The assignee's identifier, user id/group id
principal_type This property is required. AssignmentPrincipalType
The assignee's type, user/group
target_id This property is required. str
The account id to be provisioned.
target_type This property is required. AssignmentTargetType
The type of resource to be provsioned to, only aws account now
instanceArn This property is required. String
The sso instance that the permission set is owned.
permissionSetArn This property is required. String
The permission set that the assignemt will be assigned
principalId This property is required. String
The assignee's identifier, user id/group id
principalType This property is required. "USER" | "GROUP"
The assignee's type, user/group
targetId This property is required. String
The account id to be provisioned.
targetType This property is required. "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
, AssignmentPrincipalTypeArgs

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
, AssignmentTargetTypeArgs

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

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi