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.103.0 published on Monday, Apr 22, 2024 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.103.0 published on Monday, Apr 22, 2024 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.

    Search the CloudFormation User Guide for AWS::SSO::PermissionSet for more information about the expected schema for this property.

    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.Outputs.Tag>
    CustomerManagedPolicyReferences []PermissionSetCustomerManagedPolicyReference
    Description string
    The permission set description.
    InlinePolicy interface{}

    The inline policy to put in permission set.

    Search the CloudFormation User Guide for AWS::SSO::PermissionSet for more information about the expected schema for this property.

    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 Tag
    customerManagedPolicyReferences List<PermissionSetCustomerManagedPolicyReference>
    description String
    The permission set description.
    inlinePolicy Object

    The inline policy to put in permission set.

    Search the CloudFormation User Guide for AWS::SSO::PermissionSet for more information about the expected schema for this property.

    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<Tag>
    customerManagedPolicyReferences PermissionSetCustomerManagedPolicyReference[]
    description string
    The permission set description.
    inlinePolicy any

    The inline policy to put in permission set.

    Search the CloudFormation User Guide for AWS::SSO::PermissionSet for more information about the expected schema for this property.

    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 Tag[]
    customer_managed_policy_references Sequence[PermissionSetCustomerManagedPolicyReference]
    description str
    The permission set description.
    inline_policy Any

    The inline policy to put in permission set.

    Search the CloudFormation User Guide for AWS::SSO::PermissionSet for more information about the expected schema for this property.

    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[root_Tag]
    customerManagedPolicyReferences List<Property Map>
    description String
    The permission set description.
    inlinePolicy Any

    The inline policy to put in permission set.

    Search the CloudFormation User Guide for AWS::SSO::PermissionSet for more information about the expected schema for this property.

    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

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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.103.0 published on Monday, Apr 22, 2024 by Pulumi