1. Packages
  2. AWS Native
  3. API Docs
  4. sso
  5. getPermissionSet

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.86.0 published on Tuesday, Nov 21, 2023 by Pulumi

aws-native.sso.getPermissionSet

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.86.0 published on Tuesday, Nov 21, 2023 by Pulumi

    Resource Type definition for SSO PermissionSet

    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(instance_arn: Optional[str] = None,
                           permission_set_arn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPermissionSetResult
    def get_permission_set_output(instance_arn: Optional[pulumi.Input[str]] = None,
                           permission_set_arn: Optional[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-native:sso:getPermissionSet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceArn string

    The sso instance arn that the permission set is owned.

    PermissionSetArn string

    The permission set that the policy will be attached to

    InstanceArn string

    The sso instance arn that the permission set is owned.

    PermissionSetArn string

    The permission set that the policy will be attached to

    instanceArn String

    The sso instance arn that the permission set is owned.

    permissionSetArn String

    The permission set that the policy will be attached to

    instanceArn string

    The sso instance arn that the permission set is owned.

    permissionSetArn string

    The permission set that the policy will be attached to

    instance_arn str

    The sso instance arn that the permission set is owned.

    permission_set_arn str

    The permission set that the policy will be attached to

    instanceArn String

    The sso instance arn that the permission set is owned.

    permissionSetArn String

    The permission set that the policy will be attached to

    getPermissionSet Result

    The following output properties are available:

    CustomerManagedPolicyReferences List<Pulumi.AwsNative.Sso.Outputs.PermissionSetCustomerManagedPolicyReference>
    Description string

    The permission set description.

    InlinePolicy object

    The inline policy to put in permission set.

    ManagedPolicies List<string>
    PermissionSetArn string

    The permission set that the policy will be attached to

    PermissionsBoundary Pulumi.AwsNative.Sso.Outputs.PermissionSetPermissionsBoundary
    RelayStateType string

    The relay state URL that redirect links to any service in the AWS Management Console.

    SessionDuration string

    The length of time that a user can be signed in to an AWS account.

    Tags List<Pulumi.AwsNative.Sso.Outputs.PermissionSetTag>
    CustomerManagedPolicyReferences []PermissionSetCustomerManagedPolicyReference
    Description string

    The permission set description.

    InlinePolicy interface{}

    The inline policy to put in permission set.

    ManagedPolicies []string
    PermissionSetArn string

    The permission set that the policy will be attached to

    PermissionsBoundary PermissionSetPermissionsBoundary
    RelayStateType string

    The relay state URL that redirect links to any service in the AWS Management Console.

    SessionDuration string

    The length of time that a user can be signed in to an AWS account.

    Tags []PermissionSetTag
    customerManagedPolicyReferences List<PermissionSetCustomerManagedPolicyReference>
    description String

    The permission set description.

    inlinePolicy Object

    The inline policy to put in permission set.

    managedPolicies List<String>
    permissionSetArn String

    The permission set that the policy will be attached to

    permissionsBoundary PermissionSetPermissionsBoundary
    relayStateType String

    The relay state URL that redirect links to any service in the AWS Management Console.

    sessionDuration String

    The length of time that a user can be signed in to an AWS account.

    tags List<PermissionSetTag>
    customerManagedPolicyReferences PermissionSetCustomerManagedPolicyReference[]
    description string

    The permission set description.

    inlinePolicy any

    The inline policy to put in permission set.

    managedPolicies string[]
    permissionSetArn string

    The permission set that the policy will be attached to

    permissionsBoundary PermissionSetPermissionsBoundary
    relayStateType string

    The relay state URL that redirect links to any service in the AWS Management Console.

    sessionDuration string

    The length of time that a user can be signed in to an AWS account.

    tags PermissionSetTag[]
    customer_managed_policy_references Sequence[PermissionSetCustomerManagedPolicyReference]
    description str

    The permission set description.

    inline_policy Any

    The inline policy to put in permission set.

    managed_policies Sequence[str]
    permission_set_arn str

    The permission set that the policy will be attached to

    permissions_boundary PermissionSetPermissionsBoundary
    relay_state_type str

    The relay state URL that redirect links to any service in the AWS Management Console.

    session_duration str

    The length of time that a user can be signed in to an AWS account.

    tags Sequence[PermissionSetTag]
    customerManagedPolicyReferences List<Property Map>
    description String

    The permission set description.

    inlinePolicy Any

    The inline policy to put in permission set.

    managedPolicies List<String>
    permissionSetArn String

    The permission set that the policy will be attached to

    permissionsBoundary Property Map
    relayStateType String

    The relay state URL that redirect links to any service in the AWS Management Console.

    sessionDuration String

    The length of time that a user can be signed in to an AWS account.

    tags List<Property Map>

    Supporting Types

    PermissionSetCustomerManagedPolicyReference

    Name string
    Path string
    Name string
    Path string
    name String
    path String
    name string
    path string
    name str
    path str
    name String
    path String

    PermissionSetPermissionsBoundary

    PermissionSetTag

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.86.0 published on Tuesday, Nov 21, 2023 by Pulumi