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.15.0 published on Wednesday, Dec 11, 2024 by Pulumi

aws-native.sso.Assignment

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.15.0 published on Wednesday, Dec 11, 2024 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 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:

    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, 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
    aws-native logo

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

    AWS Cloud Control v1.15.0 published on Wednesday, Dec 11, 2024 by Pulumi