1. Packages
  2. Scaleway
  3. API Docs
  4. ObjectBucketLockConfiguration
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.ObjectBucketLockConfiguration

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    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.PulumiPackage.Scaleway.Inputs.ObjectBucketLockConfigurationRule

    Specifies the Object Lock rule for the specified object.

    ProjectId 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 ObjectBucketLockConfigurationRuleArgs

    Specifies the Object Lock rule for the specified object.

    ProjectId 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 ObjectBucketLockConfigurationRule

    Specifies the Object Lock rule for the specified object.

    projectId 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 ObjectBucketLockConfigurationRule

    Specifies the Object Lock rule for the specified object.

    projectId 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 ObjectBucketLockConfigurationRuleArgs

    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.

    projectId 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.
    The following state arguments are supported:
    Bucket string

    The bucket name.

    ProjectId string

    The project_id you want to attach the resource to

    Region string

    The region you want to attach the resource to

    Rule Lbrlabs.PulumiPackage.Scaleway.Inputs.ObjectBucketLockConfigurationRule

    Specifies the Object Lock rule for the specified object.

    Bucket string

    The bucket name.

    ProjectId string

    The project_id you want to attach the resource to

    Region string

    The region you want to attach the resource to

    Rule ObjectBucketLockConfigurationRuleArgs

    Specifies the Object Lock rule for the specified object.

    bucket String

    The bucket name.

    projectId String

    The project_id you want to attach the resource to

    region String

    The region you want to attach the resource to

    rule ObjectBucketLockConfigurationRule

    Specifies the Object Lock rule for the specified object.

    bucket string

    The bucket name.

    projectId string

    The project_id you want to attach the resource to

    region string

    The region you want to attach the resource to

    rule ObjectBucketLockConfigurationRule

    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 ObjectBucketLockConfigurationRuleArgs

    Specifies the Object Lock rule for the specified object.

    bucket String

    The bucket name.

    projectId 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

    Mode string
    Days int
    Years int
    Mode string
    Days int
    Years int
    mode String
    days Integer
    years Integer
    mode string
    days number
    years number
    mode str
    days int
    years int
    mode String
    days Number
    years Number

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs