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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AccessGrantsLocation resource accepts the following input properties:
- 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
- 
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.
- 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
- 
CreateOnly 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.
- 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
- 
List<CreateOnly 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.
- 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
- 
CreateOnly 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[CreateOnly 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.
- 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
- 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:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- 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.
- 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.