1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ObjectStorage
  5. Preauthrequest
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

oci.ObjectStorage.Preauthrequest

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

    This resource provides the Preauthenticated Request resource in Oracle Cloud Infrastructure Object Storage service.

    Creates a pre-authenticated request specific to the bucket.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testPreauthenticatedRequest = new Oci.ObjectStorage.Preauthrequest("testPreauthenticatedRequest", new()
        {
            AccessType = @var.Preauthenticated_request_access_type,
            Bucket = @var.Preauthenticated_request_bucket,
            Namespace = @var.Preauthenticated_request_namespace,
            TimeExpires = @var.Preauthenticated_request_time_expires,
            BucketListingAction = @var.Preauthenticated_request_bucket_listing_action,
            Object = @var.Preauthenticated_request_object,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/ObjectStorage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ObjectStorage.NewPreauthrequest(ctx, "testPreauthenticatedRequest", &ObjectStorage.PreauthrequestArgs{
    			AccessType:          pulumi.Any(_var.Preauthenticated_request_access_type),
    			Bucket:              pulumi.Any(_var.Preauthenticated_request_bucket),
    			Namespace:           pulumi.Any(_var.Preauthenticated_request_namespace),
    			TimeExpires:         pulumi.Any(_var.Preauthenticated_request_time_expires),
    			BucketListingAction: pulumi.Any(_var.Preauthenticated_request_bucket_listing_action),
    			Object:              pulumi.Any(_var.Preauthenticated_request_object),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.ObjectStorage.Preauthrequest;
    import com.pulumi.oci.ObjectStorage.PreauthrequestArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testPreauthenticatedRequest = new Preauthrequest("testPreauthenticatedRequest", PreauthrequestArgs.builder()        
                .accessType(var_.preauthenticated_request_access_type())
                .bucket(var_.preauthenticated_request_bucket())
                .namespace(var_.preauthenticated_request_namespace())
                .timeExpires(var_.preauthenticated_request_time_expires())
                .bucketListingAction(var_.preauthenticated_request_bucket_listing_action())
                .object(var_.preauthenticated_request_object())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_preauthenticated_request = oci.object_storage.Preauthrequest("testPreauthenticatedRequest",
        access_type=var["preauthenticated_request_access_type"],
        bucket=var["preauthenticated_request_bucket"],
        namespace=var["preauthenticated_request_namespace"],
        time_expires=var["preauthenticated_request_time_expires"],
        bucket_listing_action=var["preauthenticated_request_bucket_listing_action"],
        object=var["preauthenticated_request_object"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPreauthenticatedRequest = new oci.objectstorage.Preauthrequest("testPreauthenticatedRequest", {
        accessType: _var.preauthenticated_request_access_type,
        bucket: _var.preauthenticated_request_bucket,
        namespace: _var.preauthenticated_request_namespace,
        timeExpires: _var.preauthenticated_request_time_expires,
        bucketListingAction: _var.preauthenticated_request_bucket_listing_action,
        object: _var.preauthenticated_request_object,
    });
    
    resources:
      testPreauthenticatedRequest:
        type: oci:ObjectStorage:Preauthrequest
        properties:
          #Required
          accessType: ${var.preauthenticated_request_access_type}
          bucket: ${var.preauthenticated_request_bucket}
          namespace: ${var.preauthenticated_request_namespace}
          timeExpires: ${var.preauthenticated_request_time_expires}
          #Optional
          bucketListingAction: ${var.preauthenticated_request_bucket_listing_action}
          object: ${var.preauthenticated_request_object}
    

    Create Preauthrequest Resource

    new Preauthrequest(name: string, args: PreauthrequestArgs, opts?: CustomResourceOptions);
    @overload
    def Preauthrequest(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       access_type: Optional[str] = None,
                       bucket: Optional[str] = None,
                       bucket_listing_action: Optional[str] = None,
                       name: Optional[str] = None,
                       namespace: Optional[str] = None,
                       object: Optional[str] = None,
                       object_name: Optional[str] = None,
                       time_expires: Optional[str] = None)
    @overload
    def Preauthrequest(resource_name: str,
                       args: PreauthrequestArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewPreauthrequest(ctx *Context, name string, args PreauthrequestArgs, opts ...ResourceOption) (*Preauthrequest, error)
    public Preauthrequest(string name, PreauthrequestArgs args, CustomResourceOptions? opts = null)
    public Preauthrequest(String name, PreauthrequestArgs args)
    public Preauthrequest(String name, PreauthrequestArgs args, CustomResourceOptions options)
    
    type: oci:ObjectStorage:Preauthrequest
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args PreauthrequestArgs
    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 PreauthrequestArgs
    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 PreauthrequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PreauthrequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PreauthrequestArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Preauthrequest 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 Preauthrequest resource accepts the following input properties:

    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    Namespace string
    The Object Storage namespace used for the request.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    Namespace string
    The Object Storage namespace used for the request.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace String
    The Object Storage namespace used for the request.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    accessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace string
    The Object Storage namespace used for the request.
    timeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    access_type str
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket str
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace str
    The Object Storage namespace used for the request.
    time_expires str

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bucket_listing_action str
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name str
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object str
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    object_name str
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    namespace String
    The Object Storage namespace used for the request.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Preauthrequest resource produces the following output properties:

    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    FullPath string
    The full Path for the object.
    Id string
    The provider-assigned unique ID for this managed resource.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    FullPath string
    The full Path for the object.
    Id string
    The provider-assigned unique ID for this managed resource.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    fullPath String
    The full Path for the object.
    id String
    The provider-assigned unique ID for this managed resource.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.
    accessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    fullPath string
    The full Path for the object.
    id string
    The provider-assigned unique ID for this managed resource.
    parId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    access_uri str
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    full_path str
    The full Path for the object.
    id str
    The provider-assigned unique ID for this managed resource.
    par_id str
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    time_created str
    The date when the pre-authenticated request was created as per specification RFC 3339.
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    fullPath String
    The full Path for the object.
    id String
    The provider-assigned unique ID for this managed resource.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.

    Look up Existing Preauthrequest Resource

    Get an existing Preauthrequest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PreauthrequestState, opts?: CustomResourceOptions): Preauthrequest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_type: Optional[str] = None,
            access_uri: Optional[str] = None,
            bucket: Optional[str] = None,
            bucket_listing_action: Optional[str] = None,
            full_path: Optional[str] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            object: Optional[str] = None,
            object_name: Optional[str] = None,
            par_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_expires: Optional[str] = None) -> Preauthrequest
    func GetPreauthrequest(ctx *Context, name string, id IDInput, state *PreauthrequestState, opts ...ResourceOption) (*Preauthrequest, error)
    public static Preauthrequest Get(string name, Input<string> id, PreauthrequestState? state, CustomResourceOptions? opts = null)
    public static Preauthrequest get(String name, Output<String> id, PreauthrequestState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    FullPath string
    The full Path for the object.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Namespace string
    The Object Storage namespace used for the request.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AccessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    AccessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    Bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    BucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    FullPath string
    The full Path for the object.
    Name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    Namespace string
    The Object Storage namespace used for the request.
    Object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    ObjectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    ParId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    TimeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    TimeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    fullPath String
    The full Path for the object.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace String
    The Object Storage namespace used for the request.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessType string
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    accessUri string
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket string
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucketListingAction string
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    fullPath string
    The full Path for the object.
    name string
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace string
    The Object Storage namespace used for the request.
    object string
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName string
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    parId string
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated string
    The date when the pre-authenticated request was created as per specification RFC 3339.
    timeExpires string

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    access_type str
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    access_uri str
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket str
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucket_listing_action str
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    full_path str
    The full Path for the object.
    name str
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace str
    The Object Storage namespace used for the request.
    object str
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    object_name str
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    par_id str
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    time_created str
    The date when the pre-authenticated request was created as per specification RFC 3339.
    time_expires str

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    accessType String
    The operation that can be performed on this resource. Allowed Values: ObjectRead, ObjectWrite, ObjectReadWrite, AnyObjectReadWrite or AnyObjectRead
    accessUri String
    The URI to embed in the URL https://objectstorage.${var.region}.oraclecloud.com{var.access_uri} when using the pre-authenticated request.
    bucket String
    The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
    bucketListingAction String
    Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite". Deny: Prevents the user from performing a list operation. ListObjects: Authorizes the user to perform a list operation.
    fullPath String
    The full Path for the object.
    name String
    A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests. Avoid entering confidential information.
    namespace String
    The Object Storage namespace used for the request.
    object String
    Deprecated. Instead use object_name. Requests that include both object and object_name will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.

    Deprecated:The 'object' field has been deprecated. Please use 'object_name' instead.

    objectName String
    The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    parId String
    The unique identifier for the pre-authenticated request. This can be used to manage operations against the pre-authenticated request, such as GET or DELETE.
    timeCreated String
    The date when the pre-authenticated request was created as per specification RFC 3339.
    timeExpires String

    The expiration date for the pre-authenticated request as per RFC 3339. After this date the pre-authenticated request will no longer be valid.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    PreauthenticatedRequests can be imported using the id, e.g.

     $ pulumi import oci:ObjectStorage/preauthrequest:Preauthrequest test_preauthenticated_request "n/{namespaceName}/b/{bucketName}/p/{parId}"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi