1. Packages
  2. AWS Native
  3. API Docs
  4. s3
  5. getAccessGrantsInstance

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.s3.getAccessGrantsInstance

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    The AWS::S3::AccessGrantsInstance resource is an Amazon S3 resource type that hosts Access Grants and their associated locations

    Using getAccessGrantsInstance

    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 getAccessGrantsInstance(args: GetAccessGrantsInstanceArgs, opts?: InvokeOptions): Promise<GetAccessGrantsInstanceResult>
    function getAccessGrantsInstanceOutput(args: GetAccessGrantsInstanceOutputArgs, opts?: InvokeOptions): Output<GetAccessGrantsInstanceResult>
    def get_access_grants_instance(access_grants_instance_arn: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAccessGrantsInstanceResult
    def get_access_grants_instance_output(access_grants_instance_arn: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAccessGrantsInstanceResult]
    func LookupAccessGrantsInstance(ctx *Context, args *LookupAccessGrantsInstanceArgs, opts ...InvokeOption) (*LookupAccessGrantsInstanceResult, error)
    func LookupAccessGrantsInstanceOutput(ctx *Context, args *LookupAccessGrantsInstanceOutputArgs, opts ...InvokeOption) LookupAccessGrantsInstanceResultOutput

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

    public static class GetAccessGrantsInstance 
    {
        public static Task<GetAccessGrantsInstanceResult> InvokeAsync(GetAccessGrantsInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessGrantsInstanceResult> Invoke(GetAccessGrantsInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccessGrantsInstanceResult> getAccessGrantsInstance(GetAccessGrantsInstanceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:s3:getAccessGrantsInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccessGrantsInstanceArn string
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    AccessGrantsInstanceArn string
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    accessGrantsInstanceArn String
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    accessGrantsInstanceArn string
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    access_grants_instance_arn str
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    accessGrantsInstanceArn String
    The Amazon Resource Name (ARN) of the specified Access Grants instance.

    getAccessGrantsInstance Result

    The following output properties are available:

    AccessGrantsInstanceArn string
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    AccessGrantsInstanceId string
    A unique identifier for the specified access grants instance.
    IdentityCenterArn string
    The Amazon Resource Name (ARN) of the specified AWS Identity Center.
    AccessGrantsInstanceArn string
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    AccessGrantsInstanceId string
    A unique identifier for the specified access grants instance.
    IdentityCenterArn string
    The Amazon Resource Name (ARN) of the specified AWS Identity Center.
    accessGrantsInstanceArn String
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    accessGrantsInstanceId String
    A unique identifier for the specified access grants instance.
    identityCenterArn String
    The Amazon Resource Name (ARN) of the specified AWS Identity Center.
    accessGrantsInstanceArn string
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    accessGrantsInstanceId string
    A unique identifier for the specified access grants instance.
    identityCenterArn string
    The Amazon Resource Name (ARN) of the specified AWS Identity Center.
    access_grants_instance_arn str
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    access_grants_instance_id str
    A unique identifier for the specified access grants instance.
    identity_center_arn str
    The Amazon Resource Name (ARN) of the specified AWS Identity Center.
    accessGrantsInstanceArn String
    The Amazon Resource Name (ARN) of the specified Access Grants instance.
    accessGrantsInstanceId String
    A unique identifier for the specified access grants instance.
    identityCenterArn String
    The Amazon Resource Name (ARN) of the specified AWS Identity Center.

    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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi