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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi

aws-native.s3.AccessGrantsLocation

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.101.0 published on Thursday, Apr 11, 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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const accessGrantsLocationResource = new aws_native.s3.AccessGrantsLocation("accessGrantsLocationResource", {
        iamRoleArn: "string",
        locationScope: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    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:

    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>
    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
    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>
    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[]
    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]
    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>

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.101.0 published on Thursday, Apr 11, 2024 by Pulumi