We recommend new projects start with resources from the AWS provider.
aws-native.s3.getAccessGrant
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::S3::AccessGrant resource is an Amazon S3 resource type representing permissions to a specific S3 bucket or prefix hosted in an S3 Access Grants instance.
Using getAccessGrant
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 getAccessGrant(args: GetAccessGrantArgs, opts?: InvokeOptions): Promise<GetAccessGrantResult>
function getAccessGrantOutput(args: GetAccessGrantOutputArgs, opts?: InvokeOptions): Output<GetAccessGrantResult>def get_access_grant(access_grant_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAccessGrantResult
def get_access_grant_output(access_grant_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAccessGrantResult]func LookupAccessGrant(ctx *Context, args *LookupAccessGrantArgs, opts ...InvokeOption) (*LookupAccessGrantResult, error)
func LookupAccessGrantOutput(ctx *Context, args *LookupAccessGrantOutputArgs, opts ...InvokeOption) LookupAccessGrantResultOutput> Note: This function is named LookupAccessGrant in the Go SDK.
public static class GetAccessGrant 
{
    public static Task<GetAccessGrantResult> InvokeAsync(GetAccessGrantArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessGrantResult> Invoke(GetAccessGrantInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessGrantResult> getAccessGrant(GetAccessGrantArgs args, InvokeOptions options)
public static Output<GetAccessGrantResult> getAccessGrant(GetAccessGrantArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:s3:getAccessGrant
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccessGrant stringId 
- The ID assigned to this access grant.
- AccessGrant stringId 
- The ID assigned to this access grant.
- accessGrant StringId 
- The ID assigned to this access grant.
- accessGrant stringId 
- The ID assigned to this access grant.
- access_grant_ strid 
- The ID assigned to this access grant.
- accessGrant StringId 
- The ID assigned to this access grant.
getAccessGrant Result
The following output properties are available:
- AccessGrant stringArn 
- The Amazon Resource Name (ARN) of the specified access grant.
- AccessGrant stringId 
- The ID assigned to this access grant.
- AccessGrants Pulumi.Location Configuration Aws Native. S3. Outputs. Access Grants Location Configuration 
- The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
- AccessGrants stringLocation Id 
- The custom S3 location to be accessed by the grantee
- ApplicationArn string
- The ARN of the application grantees will use to access the location
- GrantScope string
- The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix.
- Grantee
Pulumi.Aws Native. S3. Outputs. Access Grant Grantee 
- The principal who will be granted permission to access S3.
- Permission
Pulumi.Aws Native. S3. Access Grant Permission 
- The level of access to be afforded to the grantee
- AccessGrant stringArn 
- The Amazon Resource Name (ARN) of the specified access grant.
- AccessGrant stringId 
- The ID assigned to this access grant.
- AccessGrants AccessLocation Configuration Grants Location Configuration 
- The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
- AccessGrants stringLocation Id 
- The custom S3 location to be accessed by the grantee
- ApplicationArn string
- The ARN of the application grantees will use to access the location
- GrantScope string
- The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix.
- Grantee
AccessGrant Grantee 
- The principal who will be granted permission to access S3.
- Permission
AccessGrant Permission 
- The level of access to be afforded to the grantee
- accessGrant StringArn 
- The Amazon Resource Name (ARN) of the specified access grant.
- accessGrant StringId 
- The ID assigned to this access grant.
- accessGrants AccessLocation Configuration Grants Location Configuration 
- The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
- accessGrants StringLocation Id 
- The custom S3 location to be accessed by the grantee
- applicationArn String
- The ARN of the application grantees will use to access the location
- grantScope String
- The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix.
- grantee
AccessGrant Grantee 
- The principal who will be granted permission to access S3.
- permission
AccessGrant Permission 
- The level of access to be afforded to the grantee
- accessGrant stringArn 
- The Amazon Resource Name (ARN) of the specified access grant.
- accessGrant stringId 
- The ID assigned to this access grant.
- accessGrants AccessLocation Configuration Grants Location Configuration 
- The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
- accessGrants stringLocation Id 
- The custom S3 location to be accessed by the grantee
- applicationArn string
- The ARN of the application grantees will use to access the location
- grantScope string
- The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix.
- grantee
AccessGrant Grantee 
- The principal who will be granted permission to access S3.
- permission
AccessGrant Permission 
- The level of access to be afforded to the grantee
- access_grant_ strarn 
- The Amazon Resource Name (ARN) of the specified access grant.
- access_grant_ strid 
- The ID assigned to this access grant.
- access_grants_ Accesslocation_ configuration Grants Location Configuration 
- The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
- access_grants_ strlocation_ id 
- The custom S3 location to be accessed by the grantee
- application_arn str
- The ARN of the application grantees will use to access the location
- grant_scope str
- The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix.
- grantee
AccessGrant Grantee 
- The principal who will be granted permission to access S3.
- permission
AccessGrant Permission 
- The level of access to be afforded to the grantee
- accessGrant StringArn 
- The Amazon Resource Name (ARN) of the specified access grant.
- accessGrant StringId 
- The ID assigned to this access grant.
- accessGrants Property MapLocation Configuration 
- The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
- accessGrants StringLocation Id 
- The custom S3 location to be accessed by the grantee
- applicationArn String
- The ARN of the application grantees will use to access the location
- grantScope String
- The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix.
- grantee Property Map
- The principal who will be granted permission to access S3.
- permission "READ" | "WRITE" | "READWRITE"
- The level of access to be afforded to the grantee
Supporting Types
AccessGrantGrantee  
- GranteeIdentifier string
- The unique identifier of the Grantee
- GranteeType Pulumi.Aws Native. S3. Access Grant Grantee Grantee Type 
- Configures the transfer acceleration state for an Amazon S3 bucket.
- GranteeIdentifier string
- The unique identifier of the Grantee
- GranteeType AccessGrant Grantee Grantee Type 
- Configures the transfer acceleration state for an Amazon S3 bucket.
- granteeIdentifier String
- The unique identifier of the Grantee
- granteeType AccessGrant Grantee Grantee Type 
- Configures the transfer acceleration state for an Amazon S3 bucket.
- granteeIdentifier string
- The unique identifier of the Grantee
- granteeType AccessGrant Grantee Grantee Type 
- Configures the transfer acceleration state for an Amazon S3 bucket.
- grantee_identifier str
- The unique identifier of the Grantee
- grantee_type AccessGrant Grantee Grantee Type 
- Configures the transfer acceleration state for an Amazon S3 bucket.
- granteeIdentifier String
- The unique identifier of the Grantee
- granteeType "IAM" | "DIRECTORY_USER" | "DIRECTORY_GROUP"
- Configures the transfer acceleration state for an Amazon S3 bucket.
AccessGrantGranteeGranteeType    
AccessGrantPermission  
AccessGrantsLocationConfiguration   
- S3SubPrefix string
- The S3 sub prefix of a registered location in your S3 Access Grants instance
- S3SubPrefix string
- The S3 sub prefix of a registered location in your S3 Access Grants instance
- s3SubPrefix String
- The S3 sub prefix of a registered location in your S3 Access Grants instance
- s3SubPrefix string
- The S3 sub prefix of a registered location in your S3 Access Grants instance
- s3_sub_ strprefix 
- The S3 sub prefix of a registered location in your S3 Access Grants instance
- s3SubPrefix String
- The S3 sub prefix of a registered location in your S3 Access Grants instance
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.