oci.ObjectStorage.Preauthrequest
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPreauthenticatedRequest = new oci.objectstorage.Preauthrequest("test_preauthenticated_request", {
accessType: preauthenticatedRequestAccessType,
bucket: preauthenticatedRequestBucket,
name: preauthenticatedRequestName,
namespace: preauthenticatedRequestNamespace,
timeExpires: preauthenticatedRequestTimeExpires,
bucketListingAction: preauthenticatedRequestBucketListingAction,
object: preauthenticatedRequestObject,
});
import pulumi
import pulumi_oci as oci
test_preauthenticated_request = oci.object_storage.Preauthrequest("test_preauthenticated_request",
access_type=preauthenticated_request_access_type,
bucket=preauthenticated_request_bucket,
name=preauthenticated_request_name,
namespace=preauthenticated_request_namespace,
time_expires=preauthenticated_request_time_expires,
bucket_listing_action=preauthenticated_request_bucket_listing_action,
object=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, "test_preauthenticated_request", &ObjectStorage.PreauthrequestArgs{
AccessType: pulumi.Any(preauthenticatedRequestAccessType),
Bucket: pulumi.Any(preauthenticatedRequestBucket),
Name: pulumi.Any(preauthenticatedRequestName),
Namespace: pulumi.Any(preauthenticatedRequestNamespace),
TimeExpires: pulumi.Any(preauthenticatedRequestTimeExpires),
BucketListingAction: pulumi.Any(preauthenticatedRequestBucketListingAction),
Object: pulumi.Any(preauthenticatedRequestObject),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testPreauthenticatedRequest = new Oci.ObjectStorage.Preauthrequest("test_preauthenticated_request", new()
{
AccessType = preauthenticatedRequestAccessType,
Bucket = preauthenticatedRequestBucket,
Name = preauthenticatedRequestName,
Namespace = preauthenticatedRequestNamespace,
TimeExpires = preauthenticatedRequestTimeExpires,
BucketListingAction = preauthenticatedRequestBucketListingAction,
Object = preauthenticatedRequestObject,
});
});
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(preauthenticatedRequestAccessType)
.bucket(preauthenticatedRequestBucket)
.name(preauthenticatedRequestName)
.namespace(preauthenticatedRequestNamespace)
.timeExpires(preauthenticatedRequestTimeExpires)
.bucketListingAction(preauthenticatedRequestBucketListingAction)
.object(preauthenticatedRequestObject)
.build());
}
}
resources:
testPreauthenticatedRequest:
type: oci:ObjectStorage:Preauthrequest
name: test_preauthenticated_request
properties:
accessType: ${preauthenticatedRequestAccessType}
bucket: ${preauthenticatedRequestBucket}
name: ${preauthenticatedRequestName}
namespace: ${preauthenticatedRequestNamespace}
timeExpires: ${preauthenticatedRequestTimeExpires}
bucketListingAction: ${preauthenticatedRequestBucketListingAction}
object: ${preauthenticatedRequestObject}
Create Preauthrequest Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Preauthrequest(name: string, args: PreauthrequestArgs, opts?: CustomResourceOptions);
@overload
def Preauthrequest(resource_name: str,
args: PreauthrequestArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Preauthrequest(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_type: Optional[str] = None,
bucket: Optional[str] = None,
namespace: Optional[str] = None,
time_expires: Optional[str] = None,
bucket_listing_action: Optional[str] = None,
name: Optional[str] = None,
object: Optional[str] = None,
object_name: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var preauthrequestResource = new Oci.ObjectStorage.Preauthrequest("preauthrequestResource", new()
{
AccessType = "string",
Bucket = "string",
Namespace = "string",
TimeExpires = "string",
BucketListingAction = "string",
Name = "string",
ObjectName = "string",
});
example, err := ObjectStorage.NewPreauthrequest(ctx, "preauthrequestResource", &ObjectStorage.PreauthrequestArgs{
AccessType: pulumi.String("string"),
Bucket: pulumi.String("string"),
Namespace: pulumi.String("string"),
TimeExpires: pulumi.String("string"),
BucketListingAction: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectName: pulumi.String("string"),
})
var preauthrequestResource = new Preauthrequest("preauthrequestResource", PreauthrequestArgs.builder()
.accessType("string")
.bucket("string")
.namespace("string")
.timeExpires("string")
.bucketListingAction("string")
.name("string")
.objectName("string")
.build());
preauthrequest_resource = oci.object_storage.Preauthrequest("preauthrequestResource",
access_type="string",
bucket="string",
namespace="string",
time_expires="string",
bucket_listing_action="string",
name="string",
object_name="string")
const preauthrequestResource = new oci.objectstorage.Preauthrequest("preauthrequestResource", {
accessType: "string",
bucket: "string",
namespace: "string",
timeExpires: "string",
bucketListingAction: "string",
name: "string",
objectName: "string",
});
type: oci:ObjectStorage:Preauthrequest
properties:
accessType: string
bucket: string
bucketListingAction: string
name: string
namespace: string
objectName: string
timeExpires: string
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:
- Access
Type string - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- 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.
- Time
Expires 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
- Bucket
Listing stringAction - 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 bothobject
andobject_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. - Object
Name 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 string - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- 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.
- Time
Expires 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
- Bucket
Listing stringAction - 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 bothobject
andobject_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. - Object
Name 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 String - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- 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.
- time
Expires 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
- bucket
Listing StringAction - 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 bothobject
andobject_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. - object
Name 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 string - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- 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.
- time
Expires 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
- bucket
Listing stringAction - 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 bothobject
andobject_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. - object
Name 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
orAnyObjectRead
- 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_ straction - 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 bothobject
andobject_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. - 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.
- access
Type String - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- 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.
- time
Expires 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
- bucket
Listing StringAction - 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 bothobject
andobject_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. - object
Name 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:
- Access
Uri string - The URI to embed in the URL
https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}
when using the pre-authenticated request. - Full
Path string - The full Path for the object.
- Id string
- The provider-assigned unique ID for this managed resource.
- Par
Id 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.
- Time
Created string - The date when the pre-authenticated request was created as per specification RFC 3339.
- Access
Uri string - The URI to embed in the URL
https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}
when using the pre-authenticated request. - Full
Path string - The full Path for the object.
- Id string
- The provider-assigned unique ID for this managed resource.
- Par
Id 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.
- Time
Created string - The date when the pre-authenticated request was created as per specification RFC 3339.
- access
Uri String - The URI to embed in the URL
https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}
when using the pre-authenticated request. - full
Path String - The full Path for the object.
- id String
- The provider-assigned unique ID for this managed resource.
- par
Id 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.
- time
Created String - The date when the pre-authenticated request was created as per specification RFC 3339.
- access
Uri string - The URI to embed in the URL
https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}
when using the pre-authenticated request. - full
Path string - The full Path for the object.
- id string
- The provider-assigned unique ID for this managed resource.
- par
Id 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.
- time
Created 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.
- access
Uri String - The URI to embed in the URL
https://objectstorage.${var.region}.oraclecloud.com{var.access_uri}
when using the pre-authenticated request. - full
Path String - The full Path for the object.
- id String
- The provider-assigned unique ID for this managed resource.
- par
Id 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.
- time
Created 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.
- Access
Type string - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- Access
Uri 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
- Bucket
Listing stringAction - 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 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 bothobject
andobject_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. - Object
Name 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.
- Par
Id 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.
- Time
Created string - The date when the pre-authenticated request was created as per specification RFC 3339.
- Time
Expires 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 string - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- Access
Uri 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
- Bucket
Listing stringAction - 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 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 bothobject
andobject_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. - Object
Name 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.
- Par
Id 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.
- Time
Created string - The date when the pre-authenticated request was created as per specification RFC 3339.
- Time
Expires 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 String - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- access
Uri 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
- bucket
Listing StringAction - 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 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 bothobject
andobject_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. - object
Name 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.
- par
Id 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.
- time
Created String - The date when the pre-authenticated request was created as per specification RFC 3339.
- time
Expires 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 string - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- access
Uri 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
- bucket
Listing stringAction - 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 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 bothobject
andobject_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. - object
Name 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.
- par
Id 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.
- time
Created string - The date when the pre-authenticated request was created as per specification RFC 3339.
- time
Expires 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
orAnyObjectRead
- 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_ straction - 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 bothobject
andobject_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. - 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
- access
Type String - The operation that can be performed on this resource. Allowed Values:
ObjectRead
,ObjectWrite
,ObjectReadWrite
,AnyObjectReadWrite
orAnyObjectRead
- access
Uri 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
- bucket
Listing StringAction - 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 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 bothobject
andobject_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. - object
Name 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.
- par
Id 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.
- time
Created String - The date when the pre-authenticated request was created as per specification RFC 3339.
- time
Expires 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}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.