MinIO v0.15.4 published on Monday, Jun 24, 2024 by Pulumi
minio.S3BucketNotification
Explore with Pulumi AI
Create S3BucketNotification Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new S3BucketNotification(name: string, args: S3BucketNotificationArgs, opts?: CustomResourceOptions);
@overload
def S3BucketNotification(resource_name: str,
args: S3BucketNotificationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def S3BucketNotification(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
queues: Optional[Sequence[S3BucketNotificationQueueArgs]] = None)
func NewS3BucketNotification(ctx *Context, name string, args S3BucketNotificationArgs, opts ...ResourceOption) (*S3BucketNotification, error)
public S3BucketNotification(string name, S3BucketNotificationArgs args, CustomResourceOptions? opts = null)
public S3BucketNotification(String name, S3BucketNotificationArgs args)
public S3BucketNotification(String name, S3BucketNotificationArgs args, CustomResourceOptions options)
type: minio:S3BucketNotification
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 S3BucketNotificationArgs
- 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 S3BucketNotificationArgs
- 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 S3BucketNotificationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args S3BucketNotificationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args S3BucketNotificationArgs
- 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 s3bucketNotificationResource = new Minio.S3BucketNotification("s3bucketNotificationResource", new()
{
Bucket = "string",
Queues = new[]
{
new Minio.Inputs.S3BucketNotificationQueueArgs
{
Events = new[]
{
"string",
},
QueueArn = "string",
FilterPrefix = "string",
FilterSuffix = "string",
Id = "string",
},
},
});
example, err := minio.NewS3BucketNotification(ctx, "s3bucketNotificationResource", &minio.S3BucketNotificationArgs{
Bucket: pulumi.String("string"),
Queues: minio.S3BucketNotificationQueueArray{
&minio.S3BucketNotificationQueueArgs{
Events: pulumi.StringArray{
pulumi.String("string"),
},
QueueArn: pulumi.String("string"),
FilterPrefix: pulumi.String("string"),
FilterSuffix: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
})
var s3bucketNotificationResource = new S3BucketNotification("s3bucketNotificationResource", S3BucketNotificationArgs.builder()
.bucket("string")
.queues(S3BucketNotificationQueueArgs.builder()
.events("string")
.queueArn("string")
.filterPrefix("string")
.filterSuffix("string")
.id("string")
.build())
.build());
s3bucket_notification_resource = minio.S3BucketNotification("s3bucketNotificationResource",
bucket="string",
queues=[minio.S3BucketNotificationQueueArgs(
events=["string"],
queue_arn="string",
filter_prefix="string",
filter_suffix="string",
id="string",
)])
const s3bucketNotificationResource = new minio.S3BucketNotification("s3bucketNotificationResource", {
bucket: "string",
queues: [{
events: ["string"],
queueArn: "string",
filterPrefix: "string",
filterSuffix: "string",
id: "string",
}],
});
type: minio:S3BucketNotification
properties:
bucket: string
queues:
- events:
- string
filterPrefix: string
filterSuffix: string
id: string
queueArn: string
S3BucketNotification 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 S3BucketNotification resource accepts the following input properties:
- bucket String
- queues List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the S3BucketNotification 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 S3BucketNotification Resource
Get an existing S3BucketNotification 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?: S3BucketNotificationState, opts?: CustomResourceOptions): S3BucketNotification
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
queues: Optional[Sequence[S3BucketNotificationQueueArgs]] = None) -> S3BucketNotification
func GetS3BucketNotification(ctx *Context, name string, id IDInput, state *S3BucketNotificationState, opts ...ResourceOption) (*S3BucketNotification, error)
public static S3BucketNotification Get(string name, Input<string> id, S3BucketNotificationState? state, CustomResourceOptions? opts = null)
public static S3BucketNotification get(String name, Output<String> id, S3BucketNotificationState 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
- queues List<Property Map>
Supporting Types
S3BucketNotificationQueue, S3BucketNotificationQueueArgs
- Events List<string>
- Queue
Arn string - Filter
Prefix string - Filter
Suffix string - Id string
- The ID of this resource.
- Events []string
- Queue
Arn string - Filter
Prefix string - Filter
Suffix string - Id string
- The ID of this resource.
- events List<String>
- queue
Arn String - filter
Prefix String - filter
Suffix String - id String
- The ID of this resource.
- events string[]
- queue
Arn string - filter
Prefix string - filter
Suffix string - id string
- The ID of this resource.
- events Sequence[str]
- queue_
arn str - filter_
prefix str - filter_
suffix str - id str
- The ID of this resource.
- events List<String>
- queue
Arn String - filter
Prefix String - filter
Suffix String - id String
- The ID of this resource.
Package Details
- Repository
- MinIO pulumi/pulumi-minio
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
minio
Terraform Provider.