AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotanalytics.getDatastore
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::IoTAnalytics::Datastore
Using getDatastore
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatastore(args: GetDatastoreArgs, opts?: InvokeOptions): Promise<GetDatastoreResult>
function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: InvokeOptions): Output<GetDatastoreResult>
def get_datastore(datastore_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatastoreResult
def get_datastore_output(datastore_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatastoreResult]
func LookupDatastore(ctx *Context, args *LookupDatastoreArgs, opts ...InvokeOption) (*LookupDatastoreResult, error)
func LookupDatastoreOutput(ctx *Context, args *LookupDatastoreOutputArgs, opts ...InvokeOption) LookupDatastoreResultOutput
> Note: This function is named LookupDatastore
in the Go SDK.
public static class GetDatastore
{
public static Task<GetDatastoreResult> InvokeAsync(GetDatastoreArgs args, InvokeOptions? opts = null)
public static Output<GetDatastoreResult> Invoke(GetDatastoreInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatastoreResult> getDatastore(GetDatastoreArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iotanalytics:getDatastore
arguments:
# arguments dictionary
The following arguments are supported:
- Datastore
Name string - The name of the data store.
- Datastore
Name string - The name of the data store.
- datastore
Name String - The name of the data store.
- datastore
Name string - The name of the data store.
- datastore_
name str - The name of the data store.
- datastore
Name String - The name of the data store.
getDatastore Result
The following output properties are available:
- Datastore
Partitions Pulumi.Aws Native. Io TAnalytics. Outputs. Datastore Partitions - Information about the partition dimensions in a data store.
- Datastore
Storage Pulumi.Aws Native. Io TAnalytics. Outputs. Datastore Storage - Where data store data is stored.
- File
Format Pulumi.Configuration Aws Native. Io TAnalytics. Outputs. Datastore File Format Configuration Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- Id string
- Retention
Period Pulumi.Aws Native. Io TAnalytics. Outputs. Datastore Retention Period - How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored. - List<Pulumi.
Aws Native. Outputs. Tag> Metadata which can be used to manage the data store.
For more information, see Tag .
- Datastore
Partitions DatastorePartitions - Information about the partition dimensions in a data store.
- Datastore
Storage DatastoreStorage - Where data store data is stored.
- File
Format DatastoreConfiguration File Format Configuration Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- Id string
- Retention
Period DatastoreRetention Period - How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored. - Tag
Metadata which can be used to manage the data store.
For more information, see Tag .
- datastore
Partitions DatastorePartitions - Information about the partition dimensions in a data store.
- datastore
Storage DatastoreStorage - Where data store data is stored.
- file
Format DatastoreConfiguration File Format Configuration Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- id String
- retention
Period DatastoreRetention Period - How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored. - List<Tag>
Metadata which can be used to manage the data store.
For more information, see Tag .
- datastore
Partitions DatastorePartitions - Information about the partition dimensions in a data store.
- datastore
Storage DatastoreStorage - Where data store data is stored.
- file
Format DatastoreConfiguration File Format Configuration Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- id string
- retention
Period DatastoreRetention Period - How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored. - Tag[]
Metadata which can be used to manage the data store.
For more information, see Tag .
- datastore_
partitions DatastorePartitions - Information about the partition dimensions in a data store.
- datastore_
storage DatastoreStorage - Where data store data is stored.
- file_
format_ Datastoreconfiguration File Format Configuration Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- id str
- retention_
period DatastoreRetention Period - How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored. - Sequence[root_Tag]
Metadata which can be used to manage the data store.
For more information, see Tag .
- datastore
Partitions Property Map - Information about the partition dimensions in a data store.
- datastore
Storage Property Map - Where data store data is stored.
- file
Format Property MapConfiguration Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
- id String
- retention
Period Property Map - How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored. - List<Property Map>
Metadata which can be used to manage the data store.
For more information, see Tag .
Supporting Types
DatastoreColumn
- Name string
- The name of the column.
- Type string
- The type of data. For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .
- Name string
- The name of the column.
- Type string
- The type of data. For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .
- name String
- The name of the column.
- type String
- The type of data. For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .
- name string
- The name of the column.
- type string
- The type of data. For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .
- name str
- The name of the column.
- type str
- The type of data. For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .
- name String
- The name of the column.
- type String
- The type of data. For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .
DatastoreCustomerManagedS3
- Bucket string
- The name of the Amazon S3 bucket where your data is stored.
- Role
Arn string - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- Key
Prefix string - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- Bucket string
- The name of the Amazon S3 bucket where your data is stored.
- Role
Arn string - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- Key
Prefix string - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket String
- The name of the Amazon S3 bucket where your data is stored.
- role
Arn String - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key
Prefix String - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket string
- The name of the Amazon S3 bucket where your data is stored.
- role
Arn string - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key
Prefix string - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket str
- The name of the Amazon S3 bucket where your data is stored.
- role_
arn str - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key_
prefix str - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket String
- The name of the Amazon S3 bucket where your data is stored.
- role
Arn String - The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
- key
Prefix String - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
DatastoreCustomerManagedS3Storage
- Bucket string
- The name of the Amazon S3 bucket where your data is stored.
- Key
Prefix string - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- Bucket string
- The name of the Amazon S3 bucket where your data is stored.
- Key
Prefix string - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket String
- The name of the Amazon S3 bucket where your data is stored.
- key
Prefix String - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket string
- The name of the Amazon S3 bucket where your data is stored.
- key
Prefix string - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket str
- The name of the Amazon S3 bucket where your data is stored.
- key_
prefix str - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
- bucket String
- The name of the Amazon S3 bucket where your data is stored.
- key
Prefix String - (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
DatastoreFileFormatConfiguration
- Json
Configuration Pulumi.Aws Native. Io TAnalytics. Inputs. Datastore Json Configuration - Contains the configuration information of the JSON format.
- Parquet
Configuration Pulumi.Aws Native. Io TAnalytics. Inputs. Datastore Parquet Configuration - Contains the configuration information of the Parquet format.
- Json
Configuration DatastoreJson Configuration - Contains the configuration information of the JSON format.
- Parquet
Configuration DatastoreParquet Configuration - Contains the configuration information of the Parquet format.
- json
Configuration DatastoreJson Configuration - Contains the configuration information of the JSON format.
- parquet
Configuration DatastoreParquet Configuration - Contains the configuration information of the Parquet format.
- json
Configuration DatastoreJson Configuration - Contains the configuration information of the JSON format.
- parquet
Configuration DatastoreParquet Configuration - Contains the configuration information of the Parquet format.
- json_
configuration DatastoreJson Configuration - Contains the configuration information of the JSON format.
- parquet_
configuration DatastoreParquet Configuration - Contains the configuration information of the Parquet format.
- json
Configuration Property Map - Contains the configuration information of the JSON format.
- parquet
Configuration Property Map - Contains the configuration information of the Parquet format.
DatastoreIotSiteWiseMultiLayerStorage
- Customer
Managed Pulumi.S3Storage Aws Native. Io TAnalytics. Inputs. Datastore Customer Managed S3Storage - Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
- Customer
Managed DatastoreS3Storage Customer Managed S3Storage - Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
- customer
Managed DatastoreS3Storage Customer Managed S3Storage - Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
- customer
Managed DatastoreS3Storage Customer Managed S3Storage - Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
- customer_
managed_ Datastores3_ storage Customer Managed S3Storage - Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
- customer
Managed Property MapS3Storage - Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
DatastoreParquetConfiguration
- Schema
Definition Pulumi.Aws Native. Io TAnalytics. Inputs. Datastore Schema Definition - Information needed to define a schema.
- Schema
Definition DatastoreSchema Definition - Information needed to define a schema.
- schema
Definition DatastoreSchema Definition - Information needed to define a schema.
- schema
Definition DatastoreSchema Definition - Information needed to define a schema.
- schema_
definition DatastoreSchema Definition - Information needed to define a schema.
- schema
Definition Property Map - Information needed to define a schema.
DatastorePartition
- Partition
Pulumi.
Aws Native. Io TAnalytics. Inputs. Partition - A partition dimension defined by an attribute.
- Timestamp
Partition Pulumi.Aws Native. Io TAnalytics. Inputs. Datastore Timestamp Partition - A partition dimension defined by a timestamp attribute.
- Partition Partition
- A partition dimension defined by an attribute.
- Timestamp
Partition DatastoreTimestamp Partition - A partition dimension defined by a timestamp attribute.
- partition Partition
- A partition dimension defined by an attribute.
- timestamp
Partition DatastoreTimestamp Partition - A partition dimension defined by a timestamp attribute.
- partition Partition
- A partition dimension defined by an attribute.
- timestamp
Partition DatastoreTimestamp Partition - A partition dimension defined by a timestamp attribute.
- partition Partition
- A partition dimension defined by an attribute.
- timestamp_
partition DatastoreTimestamp Partition - A partition dimension defined by a timestamp attribute.
- partition Property Map
- A partition dimension defined by an attribute.
- timestamp
Partition Property Map - A partition dimension defined by a timestamp attribute.
DatastorePartitions
- Partitions
List<Pulumi.
Aws Native. Io TAnalytics. Inputs. Datastore Partition> - A list of partition dimensions in a data store.
- Partitions
[]Datastore
Partition - A list of partition dimensions in a data store.
- partitions
List<Datastore
Partition> - A list of partition dimensions in a data store.
- partitions
Datastore
Partition[] - A list of partition dimensions in a data store.
- partitions
Sequence[Datastore
Partition] - A list of partition dimensions in a data store.
- partitions List<Property Map>
- A list of partition dimensions in a data store.
DatastoreRetentionPeriod
- Number
Of intDays - The number of days that message data is kept. The
unlimited
parameter must be false. - Unlimited bool
- If true, message data is kept indefinitely.
- Number
Of intDays - The number of days that message data is kept. The
unlimited
parameter must be false. - Unlimited bool
- If true, message data is kept indefinitely.
- number
Of IntegerDays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited Boolean
- If true, message data is kept indefinitely.
- number
Of numberDays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited boolean
- If true, message data is kept indefinitely.
- number_
of_ intdays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited bool
- If true, message data is kept indefinitely.
- number
Of NumberDays - The number of days that message data is kept. The
unlimited
parameter must be false. - unlimited Boolean
- If true, message data is kept indefinitely.
DatastoreSchemaDefinition
- Columns
List<Pulumi.
Aws Native. Io TAnalytics. Inputs. Datastore Column> Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- Columns
[]Datastore
Column Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- columns
List<Datastore
Column> Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- columns
Datastore
Column[] Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- columns
Sequence[Datastore
Column] Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
- columns List<Property Map>
Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.
DatastoreStorage
- Customer
Managed Pulumi.S3 Aws Native. Io TAnalytics. Inputs. Datastore Customer Managed S3 - Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- Iot
Site Pulumi.Wise Multi Layer Storage Aws Native. Io TAnalytics. Inputs. Datastore Iot Site Wise Multi Layer Storage - Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
- Service
Managed Pulumi.S3 Aws Native. Io TAnalytics. Inputs. Datastore Service Managed S3 - Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- Customer
Managed DatastoreS3 Customer Managed S3 - Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- Iot
Site DatastoreWise Multi Layer Storage Iot Site Wise Multi Layer Storage - Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
- Service
Managed DatastoreS3 Service Managed S3 - Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- customer
Managed DatastoreS3 Customer Managed S3 - Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- iot
Site DatastoreWise Multi Layer Storage Iot Site Wise Multi Layer Storage - Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
- service
Managed DatastoreS3 Service Managed S3 - Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- customer
Managed DatastoreS3 Customer Managed S3 - Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- iot
Site DatastoreWise Multi Layer Storage Iot Site Wise Multi Layer Storage - Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
- service
Managed DatastoreS3 Service Managed S3 - Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- customer_
managed_ Datastores3 Customer Managed S3 - Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- iot_
site_ Datastorewise_ multi_ layer_ storage Iot Site Wise Multi Layer Storage - Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
- service_
managed_ Datastores3 Service Managed S3 - Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- customer
Managed Property MapS3 - Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
- iot
Site Property MapWise Multi Layer Storage - Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
- service
Managed Property MapS3 - Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
DatastoreTimestampPartition
- Attribute
Name string - The attribute name of the partition defined by a timestamp.
- Timestamp
Format string - The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
- Attribute
Name string - The attribute name of the partition defined by a timestamp.
- Timestamp
Format string - The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
- attribute
Name String - The attribute name of the partition defined by a timestamp.
- timestamp
Format String - The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
- attribute
Name string - The attribute name of the partition defined by a timestamp.
- timestamp
Format string - The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
- attribute_
name str - The attribute name of the partition defined by a timestamp.
- timestamp_
format str - The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
- attribute
Name String - The attribute name of the partition defined by a timestamp.
- timestamp
Format String - The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
Partition
- Attribute
Name string - The name of the attribute that defines a partition dimension.
- Attribute
Name string - The name of the attribute that defines a partition dimension.
- attribute
Name String - The name of the attribute that defines a partition dimension.
- attribute
Name string - The name of the attribute that defines a partition dimension.
- attribute_
name str - The name of the attribute that defines a partition dimension.
- attribute
Name String - The name of the attribute that defines a partition dimension.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.