We recommend new projects start with resources from the AWS provider.
aws-native.sso.Assignment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 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
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:
- Instance
Arn string - The sso instance that the permission set is owned.
- Permission
Set stringArn - The permission set that the assignemt will be assigned
- Principal
Id string - The assignee's identifier, user id/group id
- Principal
Type Pulumi.Aws Native. Sso. Assignment Principal Type - The assignee's type, user/group
- Target
Id string - The account id to be provisioned.
- Target
Type Pulumi.Aws Native. Sso. Assignment Target Type - The type of resource to be provsioned to, only aws account now
- Instance
Arn string - The sso instance that the permission set is owned.
- Permission
Set stringArn - The permission set that the assignemt will be assigned
- Principal
Id string - The assignee's identifier, user id/group id
- Principal
Type AssignmentPrincipal Type - The assignee's type, user/group
- Target
Id string - The account id to be provisioned.
- Target
Type AssignmentTarget Type - The type of resource to be provsioned to, only aws account now
- instance
Arn String - The sso instance that the permission set is owned.
- permission
Set StringArn - The permission set that the assignemt will be assigned
- principal
Id String - The assignee's identifier, user id/group id
- principal
Type AssignmentPrincipal Type - The assignee's type, user/group
- target
Id String - The account id to be provisioned.
- target
Type AssignmentTarget Type - The type of resource to be provsioned to, only aws account now
- instance
Arn string - The sso instance that the permission set is owned.
- permission
Set stringArn - The permission set that the assignemt will be assigned
- principal
Id string - The assignee's identifier, user id/group id
- principal
Type AssignmentPrincipal Type - The assignee's type, user/group
- target
Id string - The account id to be provisioned.
- target
Type AssignmentTarget Type - 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_ strarn - The permission set that the assignemt will be assigned
- principal_
id str - The assignee's identifier, user id/group id
- principal_
type AssignmentPrincipal Type - The assignee's type, user/group
- target_
id str - The account id to be provisioned.
- target_
type AssignmentTarget Type - The type of resource to be provsioned to, only aws account now
- instance
Arn String - The sso instance that the permission set is owned.
- permission
Set StringArn - The permission set that the assignemt will be assigned
- principal
Id String - The assignee's identifier, user id/group id
- principal
Type "USER" | "GROUP" - The assignee's type, user/group
- target
Id String - The account id to be provisioned.
- target
Type "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
- Assignment
Principal Type User - USER
- Assignment
Principal Type Group - GROUP
- User
- USER
- Group
- GROUP
- User
- USER
- Group
- GROUP
- USER
- USER
- GROUP
- GROUP
- "USER"
- USER
- "GROUP"
- GROUP
AssignmentTargetType, AssignmentTargetTypeArgs
- Aws
Account - AWS_ACCOUNT
- Assignment
Target Type Aws Account - AWS_ACCOUNT
- Aws
Account - AWS_ACCOUNT
- Aws
Account - 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.