AWS Native is in preview. AWS Classic is fully supported.
aws-native.s3.getAccessGrant
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:s3:getAccessGrant
arguments:
# arguments dictionary
The following arguments are supported:
- Access
Grant stringId - The ID assigned to this access grant.
- Access
Grant stringId - The ID assigned to this access grant.
- access
Grant StringId - The ID assigned to this access grant.
- access
Grant stringId - The ID assigned to this access grant.
- access_
grant_ strid - The ID assigned to this access grant.
- access
Grant StringId - The ID assigned to this access grant.
getAccessGrant Result
The following output properties are available:
- Access
Grant stringArn - The Amazon Resource Name (ARN) of the specified access grant.
- Access
Grant stringId - The ID assigned to this access grant.
- Access
Grants 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.
- Access
Grants stringLocation Id - The custom S3 location to be accessed by the grantee
- Application
Arn string - The ARN of the application grantees will use to access the location
- Grant
Scope 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
- Access
Grant stringArn - The Amazon Resource Name (ARN) of the specified access grant.
- Access
Grant stringId - 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 stringLocation Id - The custom S3 location to be accessed by the grantee
- Application
Arn string - The ARN of the application grantees will use to access the location
- Grant
Scope 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
Access
Grant Grantee - The principal who will be granted permission to access S3.
- Permission
Access
Grant Permission - The level of access to be afforded to the grantee
- access
Grant StringArn - The Amazon Resource Name (ARN) of the specified access grant.
- access
Grant StringId - 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 StringLocation Id - The custom S3 location to be accessed by the grantee
- application
Arn String - The ARN of the application grantees will use to access the location
- grant
Scope 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
Access
Grant Grantee - The principal who will be granted permission to access S3.
- permission
Access
Grant Permission - The level of access to be afforded to the grantee
- access
Grant stringArn - The Amazon Resource Name (ARN) of the specified access grant.
- access
Grant stringId - 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 stringLocation Id - The custom S3 location to be accessed by the grantee
- application
Arn string - The ARN of the application grantees will use to access the location
- grant
Scope 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
Access
Grant Grantee - The principal who will be granted permission to access S3.
- permission
Access
Grant 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
Access
Grant Grantee - The principal who will be granted permission to access S3.
- permission
Access
Grant Permission - The level of access to be afforded to the grantee
- access
Grant StringArn - The Amazon Resource Name (ARN) of the specified access grant.
- access
Grant StringId - The ID assigned to this access grant.
- access
Grants Property MapLocation Configuration - The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
- access
Grants StringLocation Id - The custom S3 location to be accessed by the grantee
- application
Arn String - The ARN of the application grantees will use to access the location
- grant
Scope 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
- Grantee
Identifier string - The unique identifier of the Grantee
- Grantee
Type Pulumi.Aws Native. S3. Access Grant Grantee Grantee Type - Configures the transfer acceleration state for an Amazon S3 bucket.
- Grantee
Identifier string - The unique identifier of the Grantee
- Grantee
Type AccessGrant Grantee Grantee Type - Configures the transfer acceleration state for an Amazon S3 bucket.
- grantee
Identifier String - The unique identifier of the Grantee
- grantee
Type AccessGrant Grantee Grantee Type - Configures the transfer acceleration state for an Amazon S3 bucket.
- grantee
Identifier string - The unique identifier of the Grantee
- grantee
Type 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.
- grantee
Identifier String - The unique identifier of the Grantee
- grantee
Type "IAM" | "DIRECTORY_USER" | "DIRECTORY_GROUP" - Configures the transfer acceleration state for an Amazon S3 bucket.
AccessGrantGranteeGranteeType
AccessGrantPermission
AccessGrantsLocationConfiguration
- S3Sub
Prefix string - The S3 sub prefix of a registered location in your S3 Access Grants instance
- S3Sub
Prefix string - The S3 sub prefix of a registered location in your S3 Access Grants instance
- s3Sub
Prefix String - The S3 sub prefix of a registered location in your S3 Access Grants instance
- s3Sub
Prefix 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
- s3Sub
Prefix 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
AWS Native is in preview. AWS Classic is fully supported.