1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. s3
  5. AccessGrantsLocation

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.s3.AccessGrantsLocation

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    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:

    IamRoleArn string
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    LocationScope string
    Descriptor for where the location actually points
    Tags List<Pulumi.AwsNative.Inputs.CreateOnlyTag>
    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.
    IamRoleArn string
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    LocationScope string
    Descriptor for where the location actually points
    Tags CreateOnlyTagArgs
    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.
    iamRoleArn String
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    locationScope String
    Descriptor for where the location actually points
    tags List<CreateOnlyTag>
    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.
    iamRoleArn string
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    locationScope string
    Descriptor for where the location actually points
    tags CreateOnlyTag[]
    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_arn str
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    location_scope str
    Descriptor for where the location actually points
    tags Sequence[CreateOnlyTagArgs]
    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.
    iamRoleArn String
    The Amazon Resource Name (ARN) of the access grant location's associated IAM role.
    locationScope String
    Descriptor for where the location actually points
    tags 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:

    AccessGrantsLocationArn string
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    AccessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessGrantsLocationArn string
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    AccessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    Id string
    The provider-assigned unique ID for this managed resource.
    accessGrantsLocationArn String
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    accessGrantsLocationId String
    The unique identifier for the specified Access Grants location.
    id String
    The provider-assigned unique ID for this managed resource.
    accessGrantsLocationArn string
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    accessGrantsLocationId string
    The unique identifier for the specified Access Grants location.
    id string
    The provider-assigned unique ID for this managed resource.
    access_grants_location_arn str
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    access_grants_location_id str
    The unique identifier for the specified Access Grants location.
    id str
    The provider-assigned unique ID for this managed resource.
    accessGrantsLocationArn String
    The Amazon Resource Name (ARN) of the specified Access Grants location.
    accessGrantsLocationId String
    The unique identifier for the specified Access Grants location.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    CreateOnlyTag, CreateOnlyTagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi