1. Packages
  2. AWS Classic
  3. API Docs
  4. ssoadmin
  5. getPermissionSet

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

aws.ssoadmin.getPermissionSet

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

    Use this data source to get a Single Sign-On (SSO) Permission Set.

    Using getPermissionSet

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPermissionSet(args: GetPermissionSetArgs, opts?: InvokeOptions): Promise<GetPermissionSetResult>
    function getPermissionSetOutput(args: GetPermissionSetOutputArgs, opts?: InvokeOptions): Output<GetPermissionSetResult>
    def get_permission_set(arn: Optional[str] = None,
                           instance_arn: Optional[str] = None,
                           name: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPermissionSetResult
    def get_permission_set_output(arn: Optional[pulumi.Input[str]] = None,
                           instance_arn: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPermissionSetResult]
    func LookupPermissionSet(ctx *Context, args *LookupPermissionSetArgs, opts ...InvokeOption) (*LookupPermissionSetResult, error)
    func LookupPermissionSetOutput(ctx *Context, args *LookupPermissionSetOutputArgs, opts ...InvokeOption) LookupPermissionSetResultOutput

    > Note: This function is named LookupPermissionSet in the Go SDK.

    public static class GetPermissionSet 
    {
        public static Task<GetPermissionSetResult> InvokeAsync(GetPermissionSetArgs args, InvokeOptions? opts = null)
        public static Output<GetPermissionSetResult> Invoke(GetPermissionSetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPermissionSetResult> getPermissionSet(GetPermissionSetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:ssoadmin/getPermissionSet:getPermissionSet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceArn string
    ARN of the SSO Instance associated with the permission set.
    Arn string
    ARN of the permission set.
    Name string
    Name of the SSO Permission Set.
    Tags Dictionary<string, string>
    Key-value map of resource tags.
    InstanceArn string
    ARN of the SSO Instance associated with the permission set.
    Arn string
    ARN of the permission set.
    Name string
    Name of the SSO Permission Set.
    Tags map[string]string
    Key-value map of resource tags.
    instanceArn String
    ARN of the SSO Instance associated with the permission set.
    arn String
    ARN of the permission set.
    name String
    Name of the SSO Permission Set.
    tags Map<String,String>
    Key-value map of resource tags.
    instanceArn string
    ARN of the SSO Instance associated with the permission set.
    arn string
    ARN of the permission set.
    name string
    Name of the SSO Permission Set.
    tags {[key: string]: string}
    Key-value map of resource tags.
    instance_arn str
    ARN of the SSO Instance associated with the permission set.
    arn str
    ARN of the permission set.
    name str
    Name of the SSO Permission Set.
    tags Mapping[str, str]
    Key-value map of resource tags.
    instanceArn String
    ARN of the SSO Instance associated with the permission set.
    arn String
    ARN of the permission set.
    name String
    Name of the SSO Permission Set.
    tags Map<String>
    Key-value map of resource tags.

    getPermissionSet Result

    The following output properties are available:

    Arn string
    CreatedDate string
    Description string
    Description of the Permission Set.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceArn string
    Name string
    RelayState string
    Relay state URL used to redirect users within the application during the federation authentication process.
    SessionDuration string
    Length of time that the application user sessions are valid in the ISO-8601 standard.
    Tags Dictionary<string, string>
    Key-value map of resource tags.
    Arn string
    CreatedDate string
    Description string
    Description of the Permission Set.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceArn string
    Name string
    RelayState string
    Relay state URL used to redirect users within the application during the federation authentication process.
    SessionDuration string
    Length of time that the application user sessions are valid in the ISO-8601 standard.
    Tags map[string]string
    Key-value map of resource tags.
    arn String
    createdDate String
    description String
    Description of the Permission Set.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceArn String
    name String
    relayState String
    Relay state URL used to redirect users within the application during the federation authentication process.
    sessionDuration String
    Length of time that the application user sessions are valid in the ISO-8601 standard.
    tags Map<String,String>
    Key-value map of resource tags.
    arn string
    createdDate string
    description string
    Description of the Permission Set.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceArn string
    name string
    relayState string
    Relay state URL used to redirect users within the application during the federation authentication process.
    sessionDuration string
    Length of time that the application user sessions are valid in the ISO-8601 standard.
    tags {[key: string]: string}
    Key-value map of resource tags.
    arn str
    created_date str
    description str
    Description of the Permission Set.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_arn str
    name str
    relay_state str
    Relay state URL used to redirect users within the application during the federation authentication process.
    session_duration str
    Length of time that the application user sessions are valid in the ISO-8601 standard.
    tags Mapping[str, str]
    Key-value map of resource tags.
    arn String
    createdDate String
    description String
    Description of the Permission Set.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceArn String
    name String
    relayState String
    Relay state URL used to redirect users within the application during the federation authentication process.
    sessionDuration String
    Length of time that the application user sessions are valid in the ISO-8601 standard.
    tags Map<String>
    Key-value map of resource tags.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi