Resource for managing an Amazon S3 Vectors Vector Bucket.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.s3.VectorsVectorBucket("example", {vectorBucketName: "example-bucket"});
import pulumi
import pulumi_aws as aws
example = aws.s3.VectorsVectorBucket("example", vector_bucket_name="example-bucket")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := s3.NewVectorsVectorBucket(ctx, "example", &s3.VectorsVectorBucketArgs{
VectorBucketName: pulumi.String("example-bucket"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.S3.VectorsVectorBucket("example", new()
{
VectorBucketName = "example-bucket",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.VectorsVectorBucket;
import com.pulumi.aws.s3.VectorsVectorBucketArgs;
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 example = new VectorsVectorBucket("example", VectorsVectorBucketArgs.builder()
.vectorBucketName("example-bucket")
.build());
}
}
resources:
example:
type: aws:s3:VectorsVectorBucket
properties:
vectorBucketName: example-bucket
Encryption
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.s3.VectorsVectorBucket("example", {
vectorBucketName: "example-bucket",
encryptionConfigurations: [{
sseType: "aws:kms",
kmsKeyArn: exampleAwsKmsKey.arn,
}],
});
import pulumi
import pulumi_aws as aws
example = aws.s3.VectorsVectorBucket("example",
vector_bucket_name="example-bucket",
encryption_configurations=[{
"sse_type": "aws:kms",
"kms_key_arn": example_aws_kms_key["arn"],
}])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := s3.NewVectorsVectorBucket(ctx, "example", &s3.VectorsVectorBucketArgs{
VectorBucketName: pulumi.String("example-bucket"),
EncryptionConfigurations: s3.VectorsVectorBucketEncryptionConfigurationArray{
&s3.VectorsVectorBucketEncryptionConfigurationArgs{
SseType: pulumi.String("aws:kms"),
KmsKeyArn: pulumi.Any(exampleAwsKmsKey.Arn),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.S3.VectorsVectorBucket("example", new()
{
VectorBucketName = "example-bucket",
EncryptionConfigurations = new[]
{
new Aws.S3.Inputs.VectorsVectorBucketEncryptionConfigurationArgs
{
SseType = "aws:kms",
KmsKeyArn = exampleAwsKmsKey.Arn,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3.VectorsVectorBucket;
import com.pulumi.aws.s3.VectorsVectorBucketArgs;
import com.pulumi.aws.s3.inputs.VectorsVectorBucketEncryptionConfigurationArgs;
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 example = new VectorsVectorBucket("example", VectorsVectorBucketArgs.builder()
.vectorBucketName("example-bucket")
.encryptionConfigurations(VectorsVectorBucketEncryptionConfigurationArgs.builder()
.sseType("aws:kms")
.kmsKeyArn(exampleAwsKmsKey.arn())
.build())
.build());
}
}
resources:
example:
type: aws:s3:VectorsVectorBucket
properties:
vectorBucketName: example-bucket
encryptionConfigurations:
- sseType: aws:kms
kmsKeyArn: ${exampleAwsKmsKey.arn}
Create VectorsVectorBucket Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VectorsVectorBucket(name: string, args: VectorsVectorBucketArgs, opts?: CustomResourceOptions);@overload
def VectorsVectorBucket(resource_name: str,
args: VectorsVectorBucketArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VectorsVectorBucket(resource_name: str,
opts: Optional[ResourceOptions] = None,
vector_bucket_name: Optional[str] = None,
encryption_configurations: Optional[Sequence[VectorsVectorBucketEncryptionConfigurationArgs]] = None,
force_destroy: Optional[bool] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewVectorsVectorBucket(ctx *Context, name string, args VectorsVectorBucketArgs, opts ...ResourceOption) (*VectorsVectorBucket, error)public VectorsVectorBucket(string name, VectorsVectorBucketArgs args, CustomResourceOptions? opts = null)
public VectorsVectorBucket(String name, VectorsVectorBucketArgs args)
public VectorsVectorBucket(String name, VectorsVectorBucketArgs args, CustomResourceOptions options)
type: aws:s3:VectorsVectorBucket
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 VectorsVectorBucketArgs
- 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 VectorsVectorBucketArgs
- 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 VectorsVectorBucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VectorsVectorBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VectorsVectorBucketArgs
- 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 vectorsVectorBucketResource = new Aws.S3.VectorsVectorBucket("vectorsVectorBucketResource", new()
{
VectorBucketName = "string",
EncryptionConfigurations = new[]
{
new Aws.S3.Inputs.VectorsVectorBucketEncryptionConfigurationArgs
{
KmsKeyArn = "string",
SseType = "string",
},
},
ForceDestroy = false,
Region = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := s3.NewVectorsVectorBucket(ctx, "vectorsVectorBucketResource", &s3.VectorsVectorBucketArgs{
VectorBucketName: pulumi.String("string"),
EncryptionConfigurations: s3.VectorsVectorBucketEncryptionConfigurationArray{
&s3.VectorsVectorBucketEncryptionConfigurationArgs{
KmsKeyArn: pulumi.String("string"),
SseType: pulumi.String("string"),
},
},
ForceDestroy: pulumi.Bool(false),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var vectorsVectorBucketResource = new VectorsVectorBucket("vectorsVectorBucketResource", VectorsVectorBucketArgs.builder()
.vectorBucketName("string")
.encryptionConfigurations(VectorsVectorBucketEncryptionConfigurationArgs.builder()
.kmsKeyArn("string")
.sseType("string")
.build())
.forceDestroy(false)
.region("string")
.tags(Map.of("string", "string"))
.build());
vectors_vector_bucket_resource = aws.s3.VectorsVectorBucket("vectorsVectorBucketResource",
vector_bucket_name="string",
encryption_configurations=[{
"kms_key_arn": "string",
"sse_type": "string",
}],
force_destroy=False,
region="string",
tags={
"string": "string",
})
const vectorsVectorBucketResource = new aws.s3.VectorsVectorBucket("vectorsVectorBucketResource", {
vectorBucketName: "string",
encryptionConfigurations: [{
kmsKeyArn: "string",
sseType: "string",
}],
forceDestroy: false,
region: "string",
tags: {
string: "string",
},
});
type: aws:s3:VectorsVectorBucket
properties:
encryptionConfigurations:
- kmsKeyArn: string
sseType: string
forceDestroy: false
region: string
tags:
string: string
vectorBucketName: string
VectorsVectorBucket Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VectorsVectorBucket resource accepts the following input properties:
- Vector
Bucket stringName Name of the vector bucket.
The following arguments are optional:
- Encryption
Configurations List<VectorsVector Bucket Encryption Configuration> - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- Force
Destroy bool - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Vector
Bucket stringName Name of the vector bucket.
The following arguments are optional:
- Encryption
Configurations []VectorsVector Bucket Encryption Configuration Args - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- Force
Destroy bool - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vector
Bucket StringName Name of the vector bucket.
The following arguments are optional:
- encryption
Configurations List<VectorsVector Bucket Encryption Configuration> - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force
Destroy Boolean - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vector
Bucket stringName Name of the vector bucket.
The following arguments are optional:
- encryption
Configurations VectorsVector Bucket Encryption Configuration[] - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force
Destroy boolean - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vector_
bucket_ strname Name of the vector bucket.
The following arguments are optional:
- encryption_
configurations Sequence[VectorsVector Bucket Encryption Configuration Args] - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force_
destroy bool - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- vector
Bucket StringName Name of the vector bucket.
The following arguments are optional:
- encryption
Configurations List<Property Map> - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force
Destroy Boolean - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the VectorsVectorBucket resource produces the following output properties:
- Creation
Time string - Date and time when the vector bucket was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Vector
Bucket stringArn - ARN of the vector bucket.
- Creation
Time string - Date and time when the vector bucket was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Vector
Bucket stringArn - ARN of the vector bucket.
- creation
Time String - Date and time when the vector bucket was created.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector
Bucket StringArn - ARN of the vector bucket.
- creation
Time string - Date and time when the vector bucket was created.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector
Bucket stringArn - ARN of the vector bucket.
- creation_
time str - Date and time when the vector bucket was created.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector_
bucket_ strarn - ARN of the vector bucket.
- creation
Time String - Date and time when the vector bucket was created.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector
Bucket StringArn - ARN of the vector bucket.
Look up Existing VectorsVectorBucket Resource
Get an existing VectorsVectorBucket 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?: VectorsVectorBucketState, opts?: CustomResourceOptions): VectorsVectorBucket@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_time: Optional[str] = None,
encryption_configurations: Optional[Sequence[VectorsVectorBucketEncryptionConfigurationArgs]] = None,
force_destroy: Optional[bool] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
vector_bucket_arn: Optional[str] = None,
vector_bucket_name: Optional[str] = None) -> VectorsVectorBucketfunc GetVectorsVectorBucket(ctx *Context, name string, id IDInput, state *VectorsVectorBucketState, opts ...ResourceOption) (*VectorsVectorBucket, error)public static VectorsVectorBucket Get(string name, Input<string> id, VectorsVectorBucketState? state, CustomResourceOptions? opts = null)public static VectorsVectorBucket get(String name, Output<String> id, VectorsVectorBucketState state, CustomResourceOptions options)resources: _: type: aws:s3:VectorsVectorBucket get: id: ${id}- 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.
- Creation
Time string - Date and time when the vector bucket was created.
- Encryption
Configurations List<VectorsVector Bucket Encryption Configuration> - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- Force
Destroy bool - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Vector
Bucket stringArn - ARN of the vector bucket.
- Vector
Bucket stringName Name of the vector bucket.
The following arguments are optional:
- Creation
Time string - Date and time when the vector bucket was created.
- Encryption
Configurations []VectorsVector Bucket Encryption Configuration Args - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- Force
Destroy bool - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - Vector
Bucket stringArn - ARN of the vector bucket.
- Vector
Bucket stringName Name of the vector bucket.
The following arguments are optional:
- creation
Time String - Date and time when the vector bucket was created.
- encryption
Configurations List<VectorsVector Bucket Encryption Configuration> - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force
Destroy Boolean - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector
Bucket StringArn - ARN of the vector bucket.
- vector
Bucket StringName Name of the vector bucket.
The following arguments are optional:
- creation
Time string - Date and time when the vector bucket was created.
- encryption
Configurations VectorsVector Bucket Encryption Configuration[] - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force
Destroy boolean - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector
Bucket stringArn - ARN of the vector bucket.
- vector
Bucket stringName Name of the vector bucket.
The following arguments are optional:
- creation_
time str - Date and time when the vector bucket was created.
- encryption_
configurations Sequence[VectorsVector Bucket Encryption Configuration Args] - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force_
destroy bool - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector_
bucket_ strarn - ARN of the vector bucket.
- vector_
bucket_ strname Name of the vector bucket.
The following arguments are optional:
- creation
Time String - Date and time when the vector bucket was created.
- encryption
Configurations List<Property Map> - Encryption configuration for the vector bucket. See Encryption Configuration below for more details.
- force
Destroy Boolean - Boolean that indicates all indexes and vectors should be deleted from the vector bucket when the vector bucket is destroyed so that the vector bucket can be destroyed without error. Once this parameter is set to
true, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the vector bucket or destroying the vector bucket, this flag will not work. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tagsconfiguration block. - vector
Bucket StringArn - ARN of the vector bucket.
- vector
Bucket StringName Name of the vector bucket.
The following arguments are optional:
Supporting Types
VectorsVectorBucketEncryptionConfiguration, VectorsVectorBucketEncryptionConfigurationArgs
- kms_
key_ strarn - AWS KMS CMK ARN to use for the default encryption of the vector bucket. Allowed if and only if
sse_typeis set toaws:kms. - sse_
type str - Server-side encryption type to use for the default encryption of the vector bucket. Valid values:
AES256,aws:kms.
Import
Using pulumi import, import S3 Vectors Vector Bucket using the vector_bucket_arn. For example:
$ pulumi import aws:s3/vectorsVectorBucket:VectorsVectorBucket example arn:aws:s3vectors:us-west-2:123456789012:bucket/example-bucket
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
