scaleway.ObjectBucketLockConfiguration
Explore with Pulumi AI
Create ObjectBucketLockConfiguration Resource
new ObjectBucketLockConfiguration(name: string, args: ObjectBucketLockConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ObjectBucketLockConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
rule: Optional[ObjectBucketLockConfigurationRuleArgs] = None)
@overload
def ObjectBucketLockConfiguration(resource_name: str,
args: ObjectBucketLockConfigurationArgs,
opts: Optional[ResourceOptions] = None)
func NewObjectBucketLockConfiguration(ctx *Context, name string, args ObjectBucketLockConfigurationArgs, opts ...ResourceOption) (*ObjectBucketLockConfiguration, error)
public ObjectBucketLockConfiguration(string name, ObjectBucketLockConfigurationArgs args, CustomResourceOptions? opts = null)
public ObjectBucketLockConfiguration(String name, ObjectBucketLockConfigurationArgs args)
public ObjectBucketLockConfiguration(String name, ObjectBucketLockConfigurationArgs args, CustomResourceOptions options)
type: scaleway:ObjectBucketLockConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectBucketLockConfigurationArgs
- 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 ObjectBucketLockConfigurationArgs
- 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 ObjectBucketLockConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectBucketLockConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectBucketLockConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ObjectBucketLockConfiguration 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 ObjectBucketLockConfiguration resource accepts the following input properties:
- Bucket string
The bucket name.
- Rule
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Object Bucket Lock Configuration Rule Specifies the Object Lock rule for the specified object.
- Project
Id string The project_id you want to attach the resource to
- Region string
The region you want to attach the resource to
- Bucket string
The bucket name.
- Rule
Object
Bucket Lock Configuration Rule Args Specifies the Object Lock rule for the specified object.
- Project
Id string The project_id you want to attach the resource to
- Region string
The region you want to attach the resource to
- bucket String
The bucket name.
- rule
Object
Bucket Lock Configuration Rule Specifies the Object Lock rule for the specified object.
- project
Id String The project_id you want to attach the resource to
- region String
The region you want to attach the resource to
- bucket string
The bucket name.
- rule
Object
Bucket Lock Configuration Rule Specifies the Object Lock rule for the specified object.
- project
Id string The project_id you want to attach the resource to
- region string
The region you want to attach the resource to
- bucket str
The bucket name.
- rule
Object
Bucket Lock Configuration Rule Args Specifies the Object Lock rule for the specified object.
- project_
id str The project_id you want to attach the resource to
- region str
The region you want to attach the resource to
- bucket String
The bucket name.
- rule Property Map
Specifies the Object Lock rule for the specified object.
- project
Id String The project_id you want to attach the resource to
- region String
The region you want to attach the resource to
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectBucketLockConfiguration resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ObjectBucketLockConfiguration Resource
Get an existing ObjectBucketLockConfiguration 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?: ObjectBucketLockConfigurationState, opts?: CustomResourceOptions): ObjectBucketLockConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
rule: Optional[ObjectBucketLockConfigurationRuleArgs] = None) -> ObjectBucketLockConfiguration
func GetObjectBucketLockConfiguration(ctx *Context, name string, id IDInput, state *ObjectBucketLockConfigurationState, opts ...ResourceOption) (*ObjectBucketLockConfiguration, error)
public static ObjectBucketLockConfiguration Get(string name, Input<string> id, ObjectBucketLockConfigurationState? state, CustomResourceOptions? opts = null)
public static ObjectBucketLockConfiguration get(String name, Output<String> id, ObjectBucketLockConfigurationState 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.
- Bucket string
The bucket name.
- Project
Id string The project_id you want to attach the resource to
- Region string
The region you want to attach the resource to
- Rule
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Object Bucket Lock Configuration Rule Specifies the Object Lock rule for the specified object.
- Bucket string
The bucket name.
- Project
Id string The project_id you want to attach the resource to
- Region string
The region you want to attach the resource to
- Rule
Object
Bucket Lock Configuration Rule Args Specifies the Object Lock rule for the specified object.
- bucket String
The bucket name.
- project
Id String The project_id you want to attach the resource to
- region String
The region you want to attach the resource to
- rule
Object
Bucket Lock Configuration Rule Specifies the Object Lock rule for the specified object.
- bucket string
The bucket name.
- project
Id string The project_id you want to attach the resource to
- region string
The region you want to attach the resource to
- rule
Object
Bucket Lock Configuration Rule Specifies the Object Lock rule for the specified object.
- bucket str
The bucket name.
- project_
id str The project_id you want to attach the resource to
- region str
The region you want to attach the resource to
- rule
Object
Bucket Lock Configuration Rule Args Specifies the Object Lock rule for the specified object.
- bucket String
The bucket name.
- project
Id String The project_id you want to attach the resource to
- region String
The region you want to attach the resource to
- rule Property Map
Specifies the Object Lock rule for the specified object.
Supporting Types
ObjectBucketLockConfigurationRule, ObjectBucketLockConfigurationRuleArgs
ObjectBucketLockConfigurationRuleDefaultRetention, ObjectBucketLockConfigurationRuleDefaultRetentionArgs
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.