scaleway.ObjectBucketAcl
Explore with Pulumi AI
Example with Grants
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@lbrlabs/pulumi-scaleway";
const mainObjectBucket = new scaleway.ObjectBucket("mainObjectBucket", {});
const mainObjectBucketAcl = new scaleway.ObjectBucketAcl("mainObjectBucketAcl", {
bucket: mainObjectBucket.name,
accessControlPolicy: {
grants: [
{
grantee: {
id: "<project-id>:<project-id>",
type: "CanonicalUser",
},
permission: "FULL_CONTROL",
},
{
grantee: {
id: "<project-id>",
type: "CanonicalUser",
},
permission: "WRITE",
},
],
owner: {
id: "<project-id>",
},
},
});
import pulumi
import lbrlabs_pulumi_scaleway as scaleway
main_object_bucket = scaleway.ObjectBucket("mainObjectBucket")
main_object_bucket_acl = scaleway.ObjectBucketAcl("mainObjectBucketAcl",
bucket=main_object_bucket.name,
access_control_policy=scaleway.ObjectBucketAclAccessControlPolicyArgs(
grants=[
scaleway.ObjectBucketAclAccessControlPolicyGrantArgs(
grantee=scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs(
id="<project-id>:<project-id>",
type="CanonicalUser",
),
permission="FULL_CONTROL",
),
scaleway.ObjectBucketAclAccessControlPolicyGrantArgs(
grantee=scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs(
id="<project-id>",
type="CanonicalUser",
),
permission="WRITE",
),
],
owner=scaleway.ObjectBucketAclAccessControlPolicyOwnerArgs(
id="<project-id>",
),
))
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
return await Deployment.RunAsync(() =>
{
var mainObjectBucket = new Scaleway.ObjectBucket("mainObjectBucket");
var mainObjectBucketAcl = new Scaleway.ObjectBucketAcl("mainObjectBucketAcl", new()
{
Bucket = mainObjectBucket.Name,
AccessControlPolicy = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyArgs
{
Grants = new[]
{
new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantArgs
{
Grantee = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantGranteeArgs
{
Id = "<project-id>:<project-id>",
Type = "CanonicalUser",
},
Permission = "FULL_CONTROL",
},
new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantArgs
{
Grantee = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantGranteeArgs
{
Id = "<project-id>",
Type = "CanonicalUser",
},
Permission = "WRITE",
},
},
Owner = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyOwnerArgs
{
Id = "<project-id>",
},
},
});
});
package main
import (
"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainObjectBucket, err := scaleway.NewObjectBucket(ctx, "mainObjectBucket", nil)
if err != nil {
return err
}
_, err = scaleway.NewObjectBucketAcl(ctx, "mainObjectBucketAcl", &scaleway.ObjectBucketAclArgs{
Bucket: mainObjectBucket.Name,
AccessControlPolicy: &scaleway.ObjectBucketAclAccessControlPolicyArgs{
Grants: scaleway.ObjectBucketAclAccessControlPolicyGrantArray{
&scaleway.ObjectBucketAclAccessControlPolicyGrantArgs{
Grantee: &scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs{
Id: pulumi.String("<project-id>:<project-id>"),
Type: pulumi.String("CanonicalUser"),
},
Permission: pulumi.String("FULL_CONTROL"),
},
&scaleway.ObjectBucketAclAccessControlPolicyGrantArgs{
Grantee: &scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs{
Id: pulumi.String("<project-id>"),
Type: pulumi.String("CanonicalUser"),
},
Permission: pulumi.String("WRITE"),
},
},
Owner: &scaleway.ObjectBucketAclAccessControlPolicyOwnerArgs{
Id: pulumi.String("<project-id>"),
},
},
})
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.scaleway.ObjectBucket;
import com.pulumi.scaleway.ObjectBucketAcl;
import com.pulumi.scaleway.ObjectBucketAclArgs;
import com.pulumi.scaleway.inputs.ObjectBucketAclAccessControlPolicyArgs;
import com.pulumi.scaleway.inputs.ObjectBucketAclAccessControlPolicyOwnerArgs;
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 mainObjectBucket = new ObjectBucket("mainObjectBucket");
var mainObjectBucketAcl = new ObjectBucketAcl("mainObjectBucketAcl", ObjectBucketAclArgs.builder()
.bucket(mainObjectBucket.name())
.accessControlPolicy(ObjectBucketAclAccessControlPolicyArgs.builder()
.grants(
ObjectBucketAclAccessControlPolicyGrantArgs.builder()
.grantee(ObjectBucketAclAccessControlPolicyGrantGranteeArgs.builder()
.id("<project-id>:<project-id>")
.type("CanonicalUser")
.build())
.permission("FULL_CONTROL")
.build(),
ObjectBucketAclAccessControlPolicyGrantArgs.builder()
.grantee(ObjectBucketAclAccessControlPolicyGrantGranteeArgs.builder()
.id("<project-id>")
.type("CanonicalUser")
.build())
.permission("WRITE")
.build())
.owner(ObjectBucketAclAccessControlPolicyOwnerArgs.builder()
.id("<project-id>")
.build())
.build())
.build());
}
}
resources:
mainObjectBucket:
type: scaleway:ObjectBucket
mainObjectBucketAcl:
type: scaleway:ObjectBucketAcl
properties:
bucket: ${mainObjectBucket.name}
accessControlPolicy:
grants:
- grantee:
id: <project-id>:<project-id>
type: CanonicalUser
permission: FULL_CONTROL
- grantee:
id: <project-id>
type: CanonicalUser
permission: WRITE
owner:
id: <project-id>
The ACL
Please check the canned ACL
The Access Control policy
The access_control_policy
configuration block supports the following arguments:
grant
- (Required) Set of grant configuration blocks documented below.owner
- (Required) Configuration block of the bucket owner’s display name and ID documented below.
The Grant
The grant
configuration block supports the following arguments:
grantee
- (Required) Configuration block for the project being granted permissions documented below.permission
- (Required) Logging permissions assigned to the grantee for the bucket.
The permission
The following list shows each access policy permissions supported.
READ
, WRITE
, READ_ACP
, WRITE_ACP
, FULL_CONTROL
For more information about ACL permissions in the S3 bucket, see ACL permissions.
The owner
The owner
configuration block supports the following arguments:
id
- (Required) The ID of the project owner.display_name
- (Optional) The display name of the owner.
the grantee
The grantee
configuration block supports the following arguments:
id
- (Required) The canonical user ID of the grantee.type
- (Required) Type of grantee. Valid values: CanonicalUser.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
return await Deployment.RunAsync(() =>
{
var someBucket = new Scaleway.ObjectBucket("someBucket");
var main = new Scaleway.ObjectBucketAcl("main", new()
{
Bucket = scaleway_object_bucket.Main.Name,
Acl = "private",
});
});
package main
import (
"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scaleway.NewObjectBucket(ctx, "someBucket", nil)
if err != nil {
return err
}
_, err = scaleway.NewObjectBucketAcl(ctx, "main", &scaleway.ObjectBucketAclArgs{
Bucket: pulumi.Any(scaleway_object_bucket.Main.Name),
Acl: pulumi.String("private"),
})
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.scaleway.ObjectBucket;
import com.pulumi.scaleway.ObjectBucketAcl;
import com.pulumi.scaleway.ObjectBucketAclArgs;
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 someBucket = new ObjectBucket("someBucket");
var main = new ObjectBucketAcl("main", ObjectBucketAclArgs.builder()
.bucket(scaleway_object_bucket.main().name())
.acl("private")
.build());
}
}
import pulumi
import lbrlabs_pulumi_scaleway as scaleway
some_bucket = scaleway.ObjectBucket("someBucket")
main = scaleway.ObjectBucketAcl("main",
bucket=scaleway_object_bucket["main"]["name"],
acl="private")
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@lbrlabs/pulumi-scaleway";
const someBucket = new scaleway.ObjectBucket("someBucket", {});
const main = new scaleway.ObjectBucketAcl("main", {
bucket: scaleway_object_bucket.main.name,
acl: "private",
});
resources:
someBucket:
type: scaleway:ObjectBucket
main:
type: scaleway:ObjectBucketAcl
properties:
bucket: ${scaleway_object_bucket.main.name}
acl: private
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
return await Deployment.RunAsync(() =>
{
var mainObjectBucket = new Scaleway.ObjectBucket("mainObjectBucket");
var mainObjectBucketAcl = new Scaleway.ObjectBucketAcl("mainObjectBucketAcl", new()
{
Bucket = mainObjectBucket.Name,
AccessControlPolicy = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyArgs
{
Grants = new[]
{
new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantArgs
{
Grantee = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantGranteeArgs
{
Id = "<project-id>:<project-id>",
Type = "CanonicalUser",
},
Permission = "FULL_CONTROL",
},
new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantArgs
{
Grantee = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyGrantGranteeArgs
{
Id = "<project-id>",
Type = "CanonicalUser",
},
Permission = "WRITE",
},
},
Owner = new Scaleway.Inputs.ObjectBucketAclAccessControlPolicyOwnerArgs
{
Id = "<project-id>",
},
},
});
});
package main
import (
"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainObjectBucket, err := scaleway.NewObjectBucket(ctx, "mainObjectBucket", nil)
if err != nil {
return err
}
_, err = scaleway.NewObjectBucketAcl(ctx, "mainObjectBucketAcl", &scaleway.ObjectBucketAclArgs{
Bucket: mainObjectBucket.Name,
AccessControlPolicy: &scaleway.ObjectBucketAclAccessControlPolicyArgs{
Grants: scaleway.ObjectBucketAclAccessControlPolicyGrantArray{
&scaleway.ObjectBucketAclAccessControlPolicyGrantArgs{
Grantee: &scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs{
Id: pulumi.String("<project-id>:<project-id>"),
Type: pulumi.String("CanonicalUser"),
},
Permission: pulumi.String("FULL_CONTROL"),
},
&scaleway.ObjectBucketAclAccessControlPolicyGrantArgs{
Grantee: &scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs{
Id: pulumi.String("<project-id>"),
Type: pulumi.String("CanonicalUser"),
},
Permission: pulumi.String("WRITE"),
},
},
Owner: &scaleway.ObjectBucketAclAccessControlPolicyOwnerArgs{
Id: pulumi.String("<project-id>"),
},
},
})
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.scaleway.ObjectBucket;
import com.pulumi.scaleway.ObjectBucketAcl;
import com.pulumi.scaleway.ObjectBucketAclArgs;
import com.pulumi.scaleway.inputs.ObjectBucketAclAccessControlPolicyArgs;
import com.pulumi.scaleway.inputs.ObjectBucketAclAccessControlPolicyOwnerArgs;
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 mainObjectBucket = new ObjectBucket("mainObjectBucket");
var mainObjectBucketAcl = new ObjectBucketAcl("mainObjectBucketAcl", ObjectBucketAclArgs.builder()
.bucket(mainObjectBucket.name())
.accessControlPolicy(ObjectBucketAclAccessControlPolicyArgs.builder()
.grants(
ObjectBucketAclAccessControlPolicyGrantArgs.builder()
.grantee(ObjectBucketAclAccessControlPolicyGrantGranteeArgs.builder()
.id("<project-id>:<project-id>")
.type("CanonicalUser")
.build())
.permission("FULL_CONTROL")
.build(),
ObjectBucketAclAccessControlPolicyGrantArgs.builder()
.grantee(ObjectBucketAclAccessControlPolicyGrantGranteeArgs.builder()
.id("<project-id>")
.type("CanonicalUser")
.build())
.permission("WRITE")
.build())
.owner(ObjectBucketAclAccessControlPolicyOwnerArgs.builder()
.id("<project-id>")
.build())
.build())
.build());
}
}
import pulumi
import lbrlabs_pulumi_scaleway as scaleway
main_object_bucket = scaleway.ObjectBucket("mainObjectBucket")
main_object_bucket_acl = scaleway.ObjectBucketAcl("mainObjectBucketAcl",
bucket=main_object_bucket.name,
access_control_policy=scaleway.ObjectBucketAclAccessControlPolicyArgs(
grants=[
scaleway.ObjectBucketAclAccessControlPolicyGrantArgs(
grantee=scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs(
id="<project-id>:<project-id>",
type="CanonicalUser",
),
permission="FULL_CONTROL",
),
scaleway.ObjectBucketAclAccessControlPolicyGrantArgs(
grantee=scaleway.ObjectBucketAclAccessControlPolicyGrantGranteeArgs(
id="<project-id>",
type="CanonicalUser",
),
permission="WRITE",
),
],
owner=scaleway.ObjectBucketAclAccessControlPolicyOwnerArgs(
id="<project-id>",
),
))
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@lbrlabs/pulumi-scaleway";
const mainObjectBucket = new scaleway.ObjectBucket("mainObjectBucket", {});
const mainObjectBucketAcl = new scaleway.ObjectBucketAcl("mainObjectBucketAcl", {
bucket: mainObjectBucket.name,
accessControlPolicy: {
grants: [
{
grantee: {
id: "<project-id>:<project-id>",
type: "CanonicalUser",
},
permission: "FULL_CONTROL",
},
{
grantee: {
id: "<project-id>",
type: "CanonicalUser",
},
permission: "WRITE",
},
],
owner: {
id: "<project-id>",
},
},
});
resources:
mainObjectBucket:
type: scaleway:ObjectBucket
mainObjectBucketAcl:
type: scaleway:ObjectBucketAcl
properties:
bucket: ${mainObjectBucket.name}
accessControlPolicy:
grants:
- grantee:
id: <project-id>:<project-id>
type: CanonicalUser
permission: FULL_CONTROL
- grantee:
id: <project-id>
type: CanonicalUser
permission: WRITE
owner:
id: <project-id>
Create ObjectBucketAcl Resource
new ObjectBucketAcl(name: string, args: ObjectBucketAclArgs, opts?: CustomResourceOptions);
@overload
def ObjectBucketAcl(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_control_policy: Optional[ObjectBucketAclAccessControlPolicyArgs] = None,
acl: Optional[str] = None,
bucket: Optional[str] = None,
expected_bucket_owner: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None)
@overload
def ObjectBucketAcl(resource_name: str,
args: ObjectBucketAclArgs,
opts: Optional[ResourceOptions] = None)
func NewObjectBucketAcl(ctx *Context, name string, args ObjectBucketAclArgs, opts ...ResourceOption) (*ObjectBucketAcl, error)
public ObjectBucketAcl(string name, ObjectBucketAclArgs args, CustomResourceOptions? opts = null)
public ObjectBucketAcl(String name, ObjectBucketAclArgs args)
public ObjectBucketAcl(String name, ObjectBucketAclArgs args, CustomResourceOptions options)
type: scaleway:ObjectBucketAcl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectBucketAclArgs
- 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 ObjectBucketAclArgs
- 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 ObjectBucketAclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectBucketAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectBucketAclArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ObjectBucketAcl 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 ObjectBucketAcl resource accepts the following input properties:
- Bucket string
The name of the bucket.
- Access
Control Lbrlabs.Policy Pulumi Package. Scaleway. Inputs. Object Bucket Acl Access Control Policy A configuration block that sets the ACL permissions for an object per grantee documented below.
- Acl string
The canned ACL you want to apply to the bucket.
- Expected
Bucket stringOwner The project ID of the expected bucket owner.
- Project
Id string project_id
) The ID of the project the bucket is associated with.- Region string
The region in which the bucket should be created.
- Bucket string
The name of the bucket.
- Access
Control ObjectPolicy Bucket Acl Access Control Policy Args A configuration block that sets the ACL permissions for an object per grantee documented below.
- Acl string
The canned ACL you want to apply to the bucket.
- Expected
Bucket stringOwner The project ID of the expected bucket owner.
- Project
Id string project_id
) The ID of the project the bucket is associated with.- Region string
The region in which the bucket should be created.
- bucket String
The name of the bucket.
- access
Control ObjectPolicy Bucket Acl Access Control Policy A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl String
The canned ACL you want to apply to the bucket.
- expected
Bucket StringOwner The project ID of the expected bucket owner.
- project
Id String project_id
) The ID of the project the bucket is associated with.- region String
The region in which the bucket should be created.
- bucket string
The name of the bucket.
- access
Control ObjectPolicy Bucket Acl Access Control Policy A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl string
The canned ACL you want to apply to the bucket.
- expected
Bucket stringOwner The project ID of the expected bucket owner.
- project
Id string project_id
) The ID of the project the bucket is associated with.- region string
The region in which the bucket should be created.
- bucket str
The name of the bucket.
- access_
control_ Objectpolicy Bucket Acl Access Control Policy Args A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl str
The canned ACL you want to apply to the bucket.
- expected_
bucket_ strowner The project ID of the expected bucket owner.
- project_
id str project_id
) The ID of the project the bucket is associated with.- region str
The region in which the bucket should be created.
- bucket String
The name of the bucket.
- access
Control Property MapPolicy A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl String
The canned ACL you want to apply to the bucket.
- expected
Bucket StringOwner The project ID of the expected bucket owner.
- project
Id String project_id
) The ID of the project the bucket is associated with.- region String
The region in which the bucket should be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectBucketAcl 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 ObjectBucketAcl Resource
Get an existing ObjectBucketAcl 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?: ObjectBucketAclState, opts?: CustomResourceOptions): ObjectBucketAcl
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_control_policy: Optional[ObjectBucketAclAccessControlPolicyArgs] = None,
acl: Optional[str] = None,
bucket: Optional[str] = None,
expected_bucket_owner: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None) -> ObjectBucketAcl
func GetObjectBucketAcl(ctx *Context, name string, id IDInput, state *ObjectBucketAclState, opts ...ResourceOption) (*ObjectBucketAcl, error)
public static ObjectBucketAcl Get(string name, Input<string> id, ObjectBucketAclState? state, CustomResourceOptions? opts = null)
public static ObjectBucketAcl get(String name, Output<String> id, ObjectBucketAclState 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
Control Lbrlabs.Policy Pulumi Package. Scaleway. Inputs. Object Bucket Acl Access Control Policy A configuration block that sets the ACL permissions for an object per grantee documented below.
- Acl string
The canned ACL you want to apply to the bucket.
- Bucket string
The name of the bucket.
- Expected
Bucket stringOwner The project ID of the expected bucket owner.
- Project
Id string project_id
) The ID of the project the bucket is associated with.- Region string
The region in which the bucket should be created.
- Access
Control ObjectPolicy Bucket Acl Access Control Policy Args A configuration block that sets the ACL permissions for an object per grantee documented below.
- Acl string
The canned ACL you want to apply to the bucket.
- Bucket string
The name of the bucket.
- Expected
Bucket stringOwner The project ID of the expected bucket owner.
- Project
Id string project_id
) The ID of the project the bucket is associated with.- Region string
The region in which the bucket should be created.
- access
Control ObjectPolicy Bucket Acl Access Control Policy A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl String
The canned ACL you want to apply to the bucket.
- bucket String
The name of the bucket.
- expected
Bucket StringOwner The project ID of the expected bucket owner.
- project
Id String project_id
) The ID of the project the bucket is associated with.- region String
The region in which the bucket should be created.
- access
Control ObjectPolicy Bucket Acl Access Control Policy A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl string
The canned ACL you want to apply to the bucket.
- bucket string
The name of the bucket.
- expected
Bucket stringOwner The project ID of the expected bucket owner.
- project
Id string project_id
) The ID of the project the bucket is associated with.- region string
The region in which the bucket should be created.
- access_
control_ Objectpolicy Bucket Acl Access Control Policy Args A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl str
The canned ACL you want to apply to the bucket.
- bucket str
The name of the bucket.
- expected_
bucket_ strowner The project ID of the expected bucket owner.
- project_
id str project_id
) The ID of the project the bucket is associated with.- region str
The region in which the bucket should be created.
- access
Control Property MapPolicy A configuration block that sets the ACL permissions for an object per grantee documented below.
- acl String
The canned ACL you want to apply to the bucket.
- bucket String
The name of the bucket.
- expected
Bucket StringOwner The project ID of the expected bucket owner.
- project
Id String project_id
) The ID of the project the bucket is associated with.- region String
The region in which the bucket should be created.
Supporting Types
ObjectBucketAclAccessControlPolicy, ObjectBucketAclAccessControlPolicyArgs
ObjectBucketAclAccessControlPolicyGrant, ObjectBucketAclAccessControlPolicyGrantArgs
- permission String
- grantee Property Map
ObjectBucketAclAccessControlPolicyGrantGrantee, ObjectBucketAclAccessControlPolicyGrantGranteeArgs
- Id string
The
region
,bucket
andacl
separated by (/
).- Type string
- Display
Name string
- Id string
The
region
,bucket
andacl
separated by (/
).- Type string
- Display
Name string
- id String
The
region
,bucket
andacl
separated by (/
).- type String
- display
Name String
- id string
The
region
,bucket
andacl
separated by (/
).- type string
- display
Name string
- id str
The
region
,bucket
andacl
separated by (/
).- type str
- display_
name str
- id String
The
region
,bucket
andacl
separated by (/
).- type String
- display
Name String
ObjectBucketAclAccessControlPolicyOwner, ObjectBucketAclAccessControlPolicyOwnerArgs
- Id string
The
region
,bucket
andacl
separated by (/
).- Display
Name string
- Id string
The
region
,bucket
andacl
separated by (/
).- Display
Name string
- id String
The
region
,bucket
andacl
separated by (/
).- display
Name String
- id string
The
region
,bucket
andacl
separated by (/
).- display
Name string
- id str
The
region
,bucket
andacl
separated by (/
).- display_
name str
- id String
The
region
,bucket
andacl
separated by (/
).- display
Name String
Import
Buckets can be imported using the {region}/{bucketName}/{acl}
identifier, e.g. bash
$ pulumi import scaleway:index/objectBucketAcl:ObjectBucketAcl some_bucket fr-par/some-bucket
/private
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.