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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:s3:getAccessGrantsLocation
arguments:
# arguments dictionary
The following arguments are supported:
- Access
Grants stringLocation Id - The unique identifier for the specified Access Grants location.
- Access
Grants stringLocation Id - The unique identifier for the specified Access Grants location.
- access
Grants StringLocation Id - The unique identifier for the specified Access Grants location.
- access
Grants stringLocation Id - The unique identifier for the specified Access Grants location.
- access_
grants_ strlocation_ id - The unique identifier for the specified Access Grants location.
- access
Grants StringLocation Id - The unique identifier for the specified Access Grants location.
getAccessGrantsLocation Result
The following output properties are available:
- Access
Grants stringLocation Arn - The Amazon Resource Name (ARN) of the specified Access Grants location.
- Access
Grants stringLocation Id - The unique identifier for the specified Access Grants location.
- Iam
Role stringArn - The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- Location
Scope string - Descriptor for where the location actually points
- Access
Grants stringLocation Arn - The Amazon Resource Name (ARN) of the specified Access Grants location.
- Access
Grants stringLocation Id - The unique identifier for the specified Access Grants location.
- Iam
Role stringArn - The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- Location
Scope string - Descriptor for where the location actually points
- access
Grants StringLocation Arn - The Amazon Resource Name (ARN) of the specified Access Grants location.
- access
Grants StringLocation Id - The unique identifier for the specified Access Grants location.
- iam
Role StringArn - The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- location
Scope String - Descriptor for where the location actually points
- access
Grants stringLocation Arn - The Amazon Resource Name (ARN) of the specified Access Grants location.
- access
Grants stringLocation Id - The unique identifier for the specified Access Grants location.
- iam
Role stringArn - The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- location
Scope 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
- access
Grants StringLocation Arn - The Amazon Resource Name (ARN) of the specified Access Grants location.
- access
Grants StringLocation Id - The unique identifier for the specified Access Grants location.
- iam
Role StringArn - The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
- location
Scope 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.