We recommend new projects start with resources from the AWS provider.
aws-native.s3.getAccessGrantsLocation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetAccessGrantsLocationResult> getAccessGrantsLocation(GetAccessGrantsLocationArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:s3:getAccessGrantsLocation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccessGrants stringLocation Id 
- The unique identifier for the specified Access Grants location.
- AccessGrants stringLocation Id 
- The unique identifier for the specified Access Grants location.
- accessGrants StringLocation Id 
- The unique identifier for the specified Access Grants location.
- accessGrants stringLocation Id 
- The unique identifier for the specified Access Grants location.
- access_grants_ strlocation_ id 
- The unique identifier for the specified Access Grants location.
- accessGrants StringLocation Id 
- The unique identifier for the specified Access Grants location.
getAccessGrantsLocation Result
The following output properties are available:
- AccessGrants stringLocation Arn 
- The Amazon Resource Name (ARN) of the specified Access Grants location.
- AccessGrants stringLocation Id 
- The unique identifier for the specified Access Grants location.
- IamRole stringArn 
- The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- LocationScope string
- Descriptor for where the location actually points
- AccessGrants stringLocation Arn 
- The Amazon Resource Name (ARN) of the specified Access Grants location.
- AccessGrants stringLocation Id 
- The unique identifier for the specified Access Grants location.
- IamRole stringArn 
- The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- LocationScope string
- Descriptor for where the location actually points
- accessGrants StringLocation Arn 
- The Amazon Resource Name (ARN) of the specified Access Grants location.
- accessGrants StringLocation Id 
- The unique identifier for the specified Access Grants location.
- iamRole StringArn 
- The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- locationScope String
- Descriptor for where the location actually points
- accessGrants stringLocation Arn 
- The Amazon Resource Name (ARN) of the specified Access Grants location.
- accessGrants stringLocation Id 
- The unique identifier for the specified Access Grants location.
- iamRole stringArn 
- 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_ strlocation_ arn 
- The Amazon Resource Name (ARN) of the specified Access Grants location.
- access_grants_ strlocation_ id 
- The unique identifier for the specified Access Grants location.
- iam_role_ strarn 
- The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- location_scope str
- Descriptor for where the location actually points
- accessGrants StringLocation Arn 
- The Amazon Resource Name (ARN) of the specified Access Grants location.
- accessGrants StringLocation Id 
- The unique identifier for the specified Access Grants location.
- iamRole StringArn 
- 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
We recommend new projects start with resources from the AWS provider.