1. Packages
  2. AWS Native
  3. API Docs
  4. iotanalytics
  5. Datastore

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

aws-native.iotanalytics.Datastore

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Resource Type definition for AWS::IoTAnalytics::Datastore

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var datastore = new AwsNative.IoTAnalytics.Datastore("datastore", new()
        {
            DatastoreName = "SimpleDatastore",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iotanalytics.NewDatastore(ctx, "datastore", &iotanalytics.DatastoreArgs{
    			DatastoreName: pulumi.String("SimpleDatastore"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    datastore = aws_native.iotanalytics.Datastore("datastore", datastore_name="SimpleDatastore")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const datastore = new aws_native.iotanalytics.Datastore("datastore", {datastoreName: "SimpleDatastore"});
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var datastore = new AwsNative.IoTAnalytics.Datastore("datastore", new()
        {
            DatastoreName = "SimpleDatastore",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iotanalytics.NewDatastore(ctx, "datastore", &iotanalytics.DatastoreArgs{
    			DatastoreName: pulumi.String("SimpleDatastore"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    datastore = aws_native.iotanalytics.Datastore("datastore", datastore_name="SimpleDatastore")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const datastore = new aws_native.iotanalytics.Datastore("datastore", {datastoreName: "SimpleDatastore"});
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var datastore = new AwsNative.IoTAnalytics.Datastore("datastore", new()
        {
            DatastoreName = "ComplexDatastore",
            RetentionPeriod = new AwsNative.IoTAnalytics.Inputs.DatastoreRetentionPeriodArgs
            {
                Unlimited = false,
                NumberOfDays = 10,
            },
            Tags = new[]
            {
                new AwsNative.IoTAnalytics.Inputs.DatastoreTagArgs
                {
                    Key = "keyname1",
                    Value = "value1",
                },
                new AwsNative.IoTAnalytics.Inputs.DatastoreTagArgs
                {
                    Key = "keyname2",
                    Value = "value2",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iotanalytics.NewDatastore(ctx, "datastore", &iotanalytics.DatastoreArgs{
    			DatastoreName: pulumi.String("ComplexDatastore"),
    			RetentionPeriod: &iotanalytics.DatastoreRetentionPeriodArgs{
    				Unlimited:    pulumi.Bool(false),
    				NumberOfDays: pulumi.Int(10),
    			},
    			Tags: []iotanalytics.DatastoreTagArgs{
    				{
    					Key:   pulumi.String("keyname1"),
    					Value: pulumi.String("value1"),
    				},
    				{
    					Key:   pulumi.String("keyname2"),
    					Value: pulumi.String("value2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    datastore = aws_native.iotanalytics.Datastore("datastore",
        datastore_name="ComplexDatastore",
        retention_period=aws_native.iotanalytics.DatastoreRetentionPeriodArgs(
            unlimited=False,
            number_of_days=10,
        ),
        tags=[
            aws_native.iotanalytics.DatastoreTagArgs(
                key="keyname1",
                value="value1",
            ),
            aws_native.iotanalytics.DatastoreTagArgs(
                key="keyname2",
                value="value2",
            ),
        ])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const datastore = new aws_native.iotanalytics.Datastore("datastore", {
        datastoreName: "ComplexDatastore",
        retentionPeriod: {
            unlimited: false,
            numberOfDays: 10,
        },
        tags: [
            {
                key: "keyname1",
                value: "value1",
            },
            {
                key: "keyname2",
                value: "value2",
            },
        ],
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var datastore = new AwsNative.IoTAnalytics.Datastore("datastore", new()
        {
            DatastoreName = "ComplexDatastore",
            RetentionPeriod = new AwsNative.IoTAnalytics.Inputs.DatastoreRetentionPeriodArgs
            {
                Unlimited = false,
                NumberOfDays = 10,
            },
            Tags = new[]
            {
                new AwsNative.IoTAnalytics.Inputs.DatastoreTagArgs
                {
                    Key = "keyname1",
                    Value = "value1",
                },
                new AwsNative.IoTAnalytics.Inputs.DatastoreTagArgs
                {
                    Key = "keyname2",
                    Value = "value2",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotanalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iotanalytics.NewDatastore(ctx, "datastore", &iotanalytics.DatastoreArgs{
    			DatastoreName: pulumi.String("ComplexDatastore"),
    			RetentionPeriod: &iotanalytics.DatastoreRetentionPeriodArgs{
    				Unlimited:    pulumi.Bool(false),
    				NumberOfDays: pulumi.Int(10),
    			},
    			Tags: []iotanalytics.DatastoreTagArgs{
    				{
    					Key:   pulumi.String("keyname1"),
    					Value: pulumi.String("value1"),
    				},
    				{
    					Key:   pulumi.String("keyname2"),
    					Value: pulumi.String("value2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    datastore = aws_native.iotanalytics.Datastore("datastore",
        datastore_name="ComplexDatastore",
        retention_period=aws_native.iotanalytics.DatastoreRetentionPeriodArgs(
            unlimited=False,
            number_of_days=10,
        ),
        tags=[
            aws_native.iotanalytics.DatastoreTagArgs(
                key="keyname1",
                value="value1",
            ),
            aws_native.iotanalytics.DatastoreTagArgs(
                key="keyname2",
                value="value2",
            ),
        ])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const datastore = new aws_native.iotanalytics.Datastore("datastore", {
        datastoreName: "ComplexDatastore",
        retentionPeriod: {
            unlimited: false,
            numberOfDays: 10,
        },
        tags: [
            {
                key: "keyname1",
                value: "value1",
            },
            {
                key: "keyname2",
                value: "value2",
            },
        ],
    });
    

    Coming soon!

    Create Datastore Resource

    new Datastore(name: string, args?: DatastoreArgs, opts?: CustomResourceOptions);
    @overload
    def Datastore(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  datastore_name: Optional[str] = None,
                  datastore_partitions: Optional[DatastorePartitionsArgs] = None,
                  datastore_storage: Optional[DatastoreStorageArgs] = None,
                  file_format_configuration: Optional[DatastoreFileFormatConfigurationArgs] = None,
                  retention_period: Optional[DatastoreRetentionPeriodArgs] = None,
                  tags: Optional[Sequence[DatastoreTagArgs]] = None)
    @overload
    def Datastore(resource_name: str,
                  args: Optional[DatastoreArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    func NewDatastore(ctx *Context, name string, args *DatastoreArgs, opts ...ResourceOption) (*Datastore, error)
    public Datastore(string name, DatastoreArgs? args = null, CustomResourceOptions? opts = null)
    public Datastore(String name, DatastoreArgs args)
    public Datastore(String name, DatastoreArgs args, CustomResourceOptions options)
    
    type: aws-native:iotanalytics:Datastore
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DatastoreArgs
    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 DatastoreArgs
    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 DatastoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatastoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatastoreArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Datastore 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 Datastore resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Datastore 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.

    Supporting Types

    DatastoreColumn, DatastoreColumnArgs

    Name string
    Type string
    Name string
    Type string
    name String
    type String
    name string
    type string
    name str
    type str
    name String
    type String

    DatastoreCustomerManagedS3, DatastoreCustomerManagedS3Args

    Bucket string
    RoleArn string
    KeyPrefix string
    Bucket string
    RoleArn string
    KeyPrefix string
    bucket String
    roleArn String
    keyPrefix String
    bucket string
    roleArn string
    keyPrefix string
    bucket String
    roleArn String
    keyPrefix String

    DatastoreCustomerManagedS3Storage, DatastoreCustomerManagedS3StorageArgs

    Bucket string
    KeyPrefix string
    Bucket string
    KeyPrefix string
    bucket String
    keyPrefix String
    bucket string
    keyPrefix string
    bucket String
    keyPrefix String

    DatastoreFileFormatConfiguration, DatastoreFileFormatConfigurationArgs

    DatastoreIotSiteWiseMultiLayerStorage, DatastoreIotSiteWiseMultiLayerStorageArgs

    DatastoreParquetConfiguration, DatastoreParquetConfigurationArgs

    DatastorePartition, DatastorePartitionArgs

    DatastorePartitions, DatastorePartitionsArgs

    DatastoreRetentionPeriod, DatastoreRetentionPeriodArgs

    numberOfDays Integer
    unlimited Boolean
    numberOfDays number
    unlimited boolean
    numberOfDays Number
    unlimited Boolean

    DatastoreSchemaDefinition, DatastoreSchemaDefinitionArgs

    DatastoreStorage, DatastoreStorageArgs

    DatastoreTag, DatastoreTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    DatastoreTimestampPartition, DatastoreTimestampPartitionArgs

    Partition, PartitionArgs

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi