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

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

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

aws-native.s3.getAccessGrantsLocation

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

    The AWS::S3::AccessGrantsLocation resource is an Amazon S3 resource type hosted in an access grants instance which can be the target of S3 access grants.

    Using getAccessGrantsLocation

    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 getAccessGrantsLocation(args: GetAccessGrantsLocationArgs, opts?: InvokeOptions): Promise<GetAccessGrantsLocationResult>
    function getAccessGrantsLocationOutput(args: GetAccessGrantsLocationOutputArgs, opts?: InvokeOptions): Output<GetAccessGrantsLocationResult>
    def get_access_grants_location(access_grants_location_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAccessGrantsLocationResult
    def get_access_grants_location_output(access_grants_location_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAccessGrantsLocationResult]
    func LookupAccessGrantsLocation(ctx *Context, args *LookupAccessGrantsLocationArgs, opts ...InvokeOption) (*LookupAccessGrantsLocationResult, error)
    func LookupAccessGrantsLocationOutput(ctx *Context, args *LookupAccessGrantsLocationOutputArgs, opts ...InvokeOption) LookupAccessGrantsLocationResultOutput

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

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

    The following arguments are supported:

    AccessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    AccessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    accessGrantsLocationId String
    The unique identifier for the specified Access Grants location.
    accessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    access_grants_location_id str
    The unique identifier for the specified Access Grants location.
    accessGrantsLocationId String
    The unique identifier for the specified Access Grants location.

    getAccessGrantsLocation Result

    The following output properties are available:

    AccessGrantsLocationArn string
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    AccessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    IamRoleArn string
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    LocationScope string
    Descriptor for where the location actually points
    AccessGrantsLocationArn string
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    AccessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    IamRoleArn string
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    LocationScope string
    Descriptor for where the location actually points
    accessGrantsLocationArn String
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    accessGrantsLocationId String
    The unique identifier for the specified Access Grants location.
    iamRoleArn String
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    locationScope String
    Descriptor for where the location actually points
    accessGrantsLocationArn string
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    accessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    iamRoleArn string
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    locationScope string
    Descriptor for where the location actually points
    access_grants_location_arn str
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    access_grants_location_id str
    The unique identifier for the specified Access Grants location.
    iam_role_arn str
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    location_scope str
    Descriptor for where the location actually points
    accessGrantsLocationArn String
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    accessGrantsLocationId String
    The unique identifier for the specified Access Grants location.
    iamRoleArn String
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    locationScope String
    Descriptor for where the location actually points

    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.101.0 published on Thursday, Apr 11, 2024 by Pulumi