We recommend new projects start with resources from the AWS provider.
aws-native.s3.AccessGrantsLocation
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.
Create AccessGrantsLocation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessGrantsLocation(name: string, args?: AccessGrantsLocationArgs, opts?: CustomResourceOptions);
@overload
def AccessGrantsLocation(resource_name: str,
args: Optional[AccessGrantsLocationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AccessGrantsLocation(resource_name: str,
opts: Optional[ResourceOptions] = None,
iam_role_arn: Optional[str] = None,
location_scope: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = None)
func NewAccessGrantsLocation(ctx *Context, name string, args *AccessGrantsLocationArgs, opts ...ResourceOption) (*AccessGrantsLocation, error)
public AccessGrantsLocation(string name, AccessGrantsLocationArgs? args = null, CustomResourceOptions? opts = null)
public AccessGrantsLocation(String name, AccessGrantsLocationArgs args)
public AccessGrantsLocation(String name, AccessGrantsLocationArgs args, CustomResourceOptions options)
type: aws-native:s3:AccessGrantsLocation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AccessGrantsLocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccessGrantsLocationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccessGrantsLocationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessGrantsLocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessGrantsLocationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AccessGrantsLocation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AccessGrantsLocation resource accepts the following input properties:
- 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
- List<Pulumi.
Aws Native. Inputs. Create Only Tag> - The AWS resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- 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
- Create
Only Tag Args - The AWS resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- 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
- List<Create
Only Tag> - The AWS resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- 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
- Create
Only Tag[] - The AWS resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- 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
- Sequence[Create
Only Tag Args] - The AWS resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
- 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
- List<Property Map>
- The AWS resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessGrantsLocation resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
CreateOnlyTag, CreateOnlyTagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.