Documentation ¶
Index ¶
- type ContributorInsights
- type ContributorInsightsArgs
- type ContributorInsightsArray
- type ContributorInsightsArrayInput
- type ContributorInsightsArrayOutput
- func (ContributorInsightsArrayOutput) ElementType() reflect.Type
- func (o ContributorInsightsArrayOutput) Index(i pulumi.IntInput) ContributorInsightsOutput
- func (o ContributorInsightsArrayOutput) ToContributorInsightsArrayOutput() ContributorInsightsArrayOutput
- func (o ContributorInsightsArrayOutput) ToContributorInsightsArrayOutputWithContext(ctx context.Context) ContributorInsightsArrayOutput
- type ContributorInsightsInput
- type ContributorInsightsMap
- type ContributorInsightsMapInput
- type ContributorInsightsMapOutput
- func (ContributorInsightsMapOutput) ElementType() reflect.Type
- func (o ContributorInsightsMapOutput) MapIndex(k pulumi.StringInput) ContributorInsightsOutput
- func (o ContributorInsightsMapOutput) ToContributorInsightsMapOutput() ContributorInsightsMapOutput
- func (o ContributorInsightsMapOutput) ToContributorInsightsMapOutputWithContext(ctx context.Context) ContributorInsightsMapOutput
- type ContributorInsightsOutput
- func (ContributorInsightsOutput) ElementType() reflect.Type
- func (o ContributorInsightsOutput) IndexName() pulumi.StringPtrOutput
- func (o ContributorInsightsOutput) TableName() pulumi.StringOutput
- func (o ContributorInsightsOutput) ToContributorInsightsOutput() ContributorInsightsOutput
- func (o ContributorInsightsOutput) ToContributorInsightsOutputWithContext(ctx context.Context) ContributorInsightsOutput
- type ContributorInsightsState
- type GetTableAttribute
- type GetTableAttributeArgs
- type GetTableAttributeArray
- type GetTableAttributeArrayInput
- type GetTableAttributeArrayOutput
- func (GetTableAttributeArrayOutput) ElementType() reflect.Type
- func (o GetTableAttributeArrayOutput) Index(i pulumi.IntInput) GetTableAttributeOutput
- func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput
- func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput
- type GetTableAttributeInput
- type GetTableAttributeOutput
- func (GetTableAttributeOutput) ElementType() reflect.Type
- func (o GetTableAttributeOutput) Name() pulumi.StringOutput
- func (o GetTableAttributeOutput) ToGetTableAttributeOutput() GetTableAttributeOutput
- func (o GetTableAttributeOutput) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput
- func (o GetTableAttributeOutput) Type() pulumi.StringOutput
- type GetTableGlobalSecondaryIndex
- type GetTableGlobalSecondaryIndexArgs
- func (GetTableGlobalSecondaryIndexArgs) ElementType() reflect.Type
- func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
- func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
- type GetTableGlobalSecondaryIndexArray
- func (GetTableGlobalSecondaryIndexArray) ElementType() reflect.Type
- func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
- func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
- type GetTableGlobalSecondaryIndexArrayInput
- type GetTableGlobalSecondaryIndexArrayOutput
- func (GetTableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o GetTableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) GetTableGlobalSecondaryIndexOutput
- func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
- func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
- type GetTableGlobalSecondaryIndexInput
- type GetTableGlobalSecondaryIndexOutput
- func (GetTableGlobalSecondaryIndexOutput) ElementType() reflect.Type
- func (o GetTableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o GetTableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
- func (o GetTableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntOutput
- func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
- func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
- func (o GetTableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntOutput
- type GetTableLocalSecondaryIndex
- type GetTableLocalSecondaryIndexArgs
- func (GetTableLocalSecondaryIndexArgs) ElementType() reflect.Type
- func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
- func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
- type GetTableLocalSecondaryIndexArray
- func (GetTableLocalSecondaryIndexArray) ElementType() reflect.Type
- func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
- func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
- type GetTableLocalSecondaryIndexArrayInput
- type GetTableLocalSecondaryIndexArrayOutput
- func (GetTableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o GetTableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) GetTableLocalSecondaryIndexOutput
- func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
- func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
- type GetTableLocalSecondaryIndexInput
- type GetTableLocalSecondaryIndexOutput
- func (GetTableLocalSecondaryIndexOutput) ElementType() reflect.Type
- func (o GetTableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o GetTableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o GetTableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o GetTableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
- func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
- func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
- type GetTablePointInTimeRecovery
- type GetTablePointInTimeRecoveryArgs
- func (GetTablePointInTimeRecoveryArgs) ElementType() reflect.Type
- func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
- func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
- type GetTablePointInTimeRecoveryInput
- type GetTablePointInTimeRecoveryOutput
- func (GetTablePointInTimeRecoveryOutput) ElementType() reflect.Type
- func (o GetTablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
- func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
- func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
- type GetTableReplicaType
- type GetTableReplicaTypeArgs
- type GetTableReplicaTypeArray
- type GetTableReplicaTypeArrayInput
- type GetTableReplicaTypeArrayOutput
- func (GetTableReplicaTypeArrayOutput) ElementType() reflect.Type
- func (o GetTableReplicaTypeArrayOutput) Index(i pulumi.IntInput) GetTableReplicaTypeOutput
- func (o GetTableReplicaTypeArrayOutput) ToGetTableReplicaTypeArrayOutput() GetTableReplicaTypeArrayOutput
- func (o GetTableReplicaTypeArrayOutput) ToGetTableReplicaTypeArrayOutputWithContext(ctx context.Context) GetTableReplicaTypeArrayOutput
- type GetTableReplicaTypeInput
- type GetTableReplicaTypeOutput
- func (GetTableReplicaTypeOutput) ElementType() reflect.Type
- func (o GetTableReplicaTypeOutput) KmsKeyArn() pulumi.StringOutput
- func (o GetTableReplicaTypeOutput) RegionName() pulumi.StringOutput
- func (o GetTableReplicaTypeOutput) ToGetTableReplicaTypeOutput() GetTableReplicaTypeOutput
- func (o GetTableReplicaTypeOutput) ToGetTableReplicaTypeOutputWithContext(ctx context.Context) GetTableReplicaTypeOutput
- type GetTableServerSideEncryption
- type GetTableServerSideEncryptionArgs
- func (GetTableServerSideEncryptionArgs) ElementType() reflect.Type
- func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
- func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
- func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionPtrOutput() GetTableServerSideEncryptionPtrOutput
- func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) GetTableServerSideEncryptionPtrOutput
- type GetTableServerSideEncryptionInput
- type GetTableServerSideEncryptionOutput
- func (GetTableServerSideEncryptionOutput) ElementType() reflect.Type
- func (o GetTableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
- func (o GetTableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringOutput
- func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
- func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
- func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionPtrOutput() GetTableServerSideEncryptionPtrOutput
- func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) GetTableServerSideEncryptionPtrOutput
- type GetTableServerSideEncryptionPtrInput
- type GetTableServerSideEncryptionPtrOutput
- func (o GetTableServerSideEncryptionPtrOutput) Elem() GetTableServerSideEncryptionOutput
- func (GetTableServerSideEncryptionPtrOutput) ElementType() reflect.Type
- func (o GetTableServerSideEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o GetTableServerSideEncryptionPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o GetTableServerSideEncryptionPtrOutput) ToGetTableServerSideEncryptionPtrOutput() GetTableServerSideEncryptionPtrOutput
- func (o GetTableServerSideEncryptionPtrOutput) ToGetTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) GetTableServerSideEncryptionPtrOutput
- type GetTableTtl
- type GetTableTtlArgs
- type GetTableTtlInput
- type GetTableTtlOutput
- func (o GetTableTtlOutput) AttributeName() pulumi.StringOutput
- func (GetTableTtlOutput) ElementType() reflect.Type
- func (o GetTableTtlOutput) Enabled() pulumi.BoolOutput
- func (o GetTableTtlOutput) ToGetTableTtlOutput() GetTableTtlOutput
- func (o GetTableTtlOutput) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput
- type GlobalTable
- type GlobalTableArgs
- type GlobalTableArray
- type GlobalTableArrayInput
- type GlobalTableArrayOutput
- func (GlobalTableArrayOutput) ElementType() reflect.Type
- func (o GlobalTableArrayOutput) Index(i pulumi.IntInput) GlobalTableOutput
- func (o GlobalTableArrayOutput) ToGlobalTableArrayOutput() GlobalTableArrayOutput
- func (o GlobalTableArrayOutput) ToGlobalTableArrayOutputWithContext(ctx context.Context) GlobalTableArrayOutput
- type GlobalTableInput
- type GlobalTableMap
- type GlobalTableMapInput
- type GlobalTableMapOutput
- func (GlobalTableMapOutput) ElementType() reflect.Type
- func (o GlobalTableMapOutput) MapIndex(k pulumi.StringInput) GlobalTableOutput
- func (o GlobalTableMapOutput) ToGlobalTableMapOutput() GlobalTableMapOutput
- func (o GlobalTableMapOutput) ToGlobalTableMapOutputWithContext(ctx context.Context) GlobalTableMapOutput
- type GlobalTableOutput
- func (o GlobalTableOutput) Arn() pulumi.StringOutput
- func (GlobalTableOutput) ElementType() reflect.Type
- func (o GlobalTableOutput) Name() pulumi.StringOutput
- func (o GlobalTableOutput) Replicas() GlobalTableReplicaArrayOutput
- func (o GlobalTableOutput) ToGlobalTableOutput() GlobalTableOutput
- func (o GlobalTableOutput) ToGlobalTableOutputWithContext(ctx context.Context) GlobalTableOutput
- type GlobalTableReplica
- type GlobalTableReplicaArgs
- type GlobalTableReplicaArray
- type GlobalTableReplicaArrayInput
- type GlobalTableReplicaArrayOutput
- func (GlobalTableReplicaArrayOutput) ElementType() reflect.Type
- func (o GlobalTableReplicaArrayOutput) Index(i pulumi.IntInput) GlobalTableReplicaOutput
- func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput
- func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput
- type GlobalTableReplicaInput
- type GlobalTableReplicaOutput
- func (GlobalTableReplicaOutput) ElementType() reflect.Type
- func (o GlobalTableReplicaOutput) RegionName() pulumi.StringOutput
- func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput
- func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput
- type GlobalTableState
- type KinesisStreamingDestination
- func (*KinesisStreamingDestination) ElementType() reflect.Type
- func (i *KinesisStreamingDestination) ToKinesisStreamingDestinationOutput() KinesisStreamingDestinationOutput
- func (i *KinesisStreamingDestination) ToKinesisStreamingDestinationOutputWithContext(ctx context.Context) KinesisStreamingDestinationOutput
- type KinesisStreamingDestinationArgs
- type KinesisStreamingDestinationArray
- func (KinesisStreamingDestinationArray) ElementType() reflect.Type
- func (i KinesisStreamingDestinationArray) ToKinesisStreamingDestinationArrayOutput() KinesisStreamingDestinationArrayOutput
- func (i KinesisStreamingDestinationArray) ToKinesisStreamingDestinationArrayOutputWithContext(ctx context.Context) KinesisStreamingDestinationArrayOutput
- type KinesisStreamingDestinationArrayInput
- type KinesisStreamingDestinationArrayOutput
- func (KinesisStreamingDestinationArrayOutput) ElementType() reflect.Type
- func (o KinesisStreamingDestinationArrayOutput) Index(i pulumi.IntInput) KinesisStreamingDestinationOutput
- func (o KinesisStreamingDestinationArrayOutput) ToKinesisStreamingDestinationArrayOutput() KinesisStreamingDestinationArrayOutput
- func (o KinesisStreamingDestinationArrayOutput) ToKinesisStreamingDestinationArrayOutputWithContext(ctx context.Context) KinesisStreamingDestinationArrayOutput
- type KinesisStreamingDestinationInput
- type KinesisStreamingDestinationMap
- func (KinesisStreamingDestinationMap) ElementType() reflect.Type
- func (i KinesisStreamingDestinationMap) ToKinesisStreamingDestinationMapOutput() KinesisStreamingDestinationMapOutput
- func (i KinesisStreamingDestinationMap) ToKinesisStreamingDestinationMapOutputWithContext(ctx context.Context) KinesisStreamingDestinationMapOutput
- type KinesisStreamingDestinationMapInput
- type KinesisStreamingDestinationMapOutput
- func (KinesisStreamingDestinationMapOutput) ElementType() reflect.Type
- func (o KinesisStreamingDestinationMapOutput) MapIndex(k pulumi.StringInput) KinesisStreamingDestinationOutput
- func (o KinesisStreamingDestinationMapOutput) ToKinesisStreamingDestinationMapOutput() KinesisStreamingDestinationMapOutput
- func (o KinesisStreamingDestinationMapOutput) ToKinesisStreamingDestinationMapOutputWithContext(ctx context.Context) KinesisStreamingDestinationMapOutput
- type KinesisStreamingDestinationOutput
- func (KinesisStreamingDestinationOutput) ElementType() reflect.Type
- func (o KinesisStreamingDestinationOutput) StreamArn() pulumi.StringOutput
- func (o KinesisStreamingDestinationOutput) TableName() pulumi.StringOutput
- func (o KinesisStreamingDestinationOutput) ToKinesisStreamingDestinationOutput() KinesisStreamingDestinationOutput
- func (o KinesisStreamingDestinationOutput) ToKinesisStreamingDestinationOutputWithContext(ctx context.Context) KinesisStreamingDestinationOutput
- type KinesisStreamingDestinationState
- type LookupTableArgs
- type LookupTableItemArgs
- type LookupTableItemOutputArgs
- type LookupTableItemResult
- type LookupTableItemResultOutput
- func (LookupTableItemResultOutput) ElementType() reflect.Type
- func (o LookupTableItemResultOutput) ExpressionAttributeNames() pulumi.StringMapOutput
- func (o LookupTableItemResultOutput) Id() pulumi.StringOutput
- func (o LookupTableItemResultOutput) Item() pulumi.StringOutput
- func (o LookupTableItemResultOutput) Key() pulumi.StringOutput
- func (o LookupTableItemResultOutput) ProjectionExpression() pulumi.StringPtrOutput
- func (o LookupTableItemResultOutput) TableName() pulumi.StringOutput
- func (o LookupTableItemResultOutput) ToLookupTableItemResultOutput() LookupTableItemResultOutput
- func (o LookupTableItemResultOutput) ToLookupTableItemResultOutputWithContext(ctx context.Context) LookupTableItemResultOutput
- type LookupTableOutputArgs
- type LookupTableResult
- type LookupTableResultOutput
- func (o LookupTableResultOutput) Arn() pulumi.StringOutput
- func (o LookupTableResultOutput) Attributes() GetTableAttributeArrayOutput
- func (o LookupTableResultOutput) BillingMode() pulumi.StringOutput
- func (o LookupTableResultOutput) DeletionProtectionEnabled() pulumi.BoolOutput
- func (LookupTableResultOutput) ElementType() reflect.Type
- func (o LookupTableResultOutput) GlobalSecondaryIndexes() GetTableGlobalSecondaryIndexArrayOutput
- func (o LookupTableResultOutput) HashKey() pulumi.StringOutput
- func (o LookupTableResultOutput) Id() pulumi.StringOutput
- func (o LookupTableResultOutput) LocalSecondaryIndexes() GetTableLocalSecondaryIndexArrayOutput
- func (o LookupTableResultOutput) Name() pulumi.StringOutput
- func (o LookupTableResultOutput) PointInTimeRecovery() GetTablePointInTimeRecoveryOutput
- func (o LookupTableResultOutput) RangeKey() pulumi.StringOutput
- func (o LookupTableResultOutput) ReadCapacity() pulumi.IntOutput
- func (o LookupTableResultOutput) Replicas() GetTableReplicaTypeArrayOutput
- func (o LookupTableResultOutput) ServerSideEncryption() GetTableServerSideEncryptionOutput
- func (o LookupTableResultOutput) StreamArn() pulumi.StringOutput
- func (o LookupTableResultOutput) StreamEnabled() pulumi.BoolOutput
- func (o LookupTableResultOutput) StreamLabel() pulumi.StringOutput
- func (o LookupTableResultOutput) StreamViewType() pulumi.StringOutput
- func (o LookupTableResultOutput) TableClass() pulumi.StringOutput
- func (o LookupTableResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupTableResultOutput) ToLookupTableResultOutput() LookupTableResultOutput
- func (o LookupTableResultOutput) ToLookupTableResultOutputWithContext(ctx context.Context) LookupTableResultOutput
- func (o LookupTableResultOutput) Ttl() GetTableTtlOutput
- func (o LookupTableResultOutput) WriteCapacity() pulumi.IntOutput
- type ResourcePolicy
- type ResourcePolicyArgs
- type ResourcePolicyArray
- type ResourcePolicyArrayInput
- type ResourcePolicyArrayOutput
- func (ResourcePolicyArrayOutput) ElementType() reflect.Type
- func (o ResourcePolicyArrayOutput) Index(i pulumi.IntInput) ResourcePolicyOutput
- func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
- func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput
- type ResourcePolicyInput
- type ResourcePolicyMap
- type ResourcePolicyMapInput
- type ResourcePolicyMapOutput
- func (ResourcePolicyMapOutput) ElementType() reflect.Type
- func (o ResourcePolicyMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyOutput
- func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput
- func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput
- type ResourcePolicyOutput
- func (o ResourcePolicyOutput) ConfirmRemoveSelfResourceAccess() pulumi.BoolOutput
- func (ResourcePolicyOutput) ElementType() reflect.Type
- func (o ResourcePolicyOutput) Policy() pulumi.StringOutput
- func (o ResourcePolicyOutput) ResourceArn() pulumi.StringOutput
- func (o ResourcePolicyOutput) RevisionId() pulumi.StringOutput
- func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput
- func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
- type ResourcePolicyState
- type Table
- type TableArgs
- type TableArray
- type TableArrayInput
- type TableArrayOutput
- type TableAttribute
- type TableAttributeArgs
- type TableAttributeArray
- type TableAttributeArrayInput
- type TableAttributeArrayOutput
- func (TableAttributeArrayOutput) ElementType() reflect.Type
- func (o TableAttributeArrayOutput) Index(i pulumi.IntInput) TableAttributeOutput
- func (o TableAttributeArrayOutput) ToTableAttributeArrayOutput() TableAttributeArrayOutput
- func (o TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput
- type TableAttributeInput
- type TableAttributeOutput
- func (TableAttributeOutput) ElementType() reflect.Type
- func (o TableAttributeOutput) Name() pulumi.StringOutput
- func (o TableAttributeOutput) ToTableAttributeOutput() TableAttributeOutput
- func (o TableAttributeOutput) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput
- func (o TableAttributeOutput) Type() pulumi.StringOutput
- type TableExport
- type TableExportArgs
- type TableExportArray
- type TableExportArrayInput
- type TableExportArrayOutput
- func (TableExportArrayOutput) ElementType() reflect.Type
- func (o TableExportArrayOutput) Index(i pulumi.IntInput) TableExportOutput
- func (o TableExportArrayOutput) ToTableExportArrayOutput() TableExportArrayOutput
- func (o TableExportArrayOutput) ToTableExportArrayOutputWithContext(ctx context.Context) TableExportArrayOutput
- type TableExportInput
- type TableExportMap
- type TableExportMapInput
- type TableExportMapOutput
- func (TableExportMapOutput) ElementType() reflect.Type
- func (o TableExportMapOutput) MapIndex(k pulumi.StringInput) TableExportOutput
- func (o TableExportMapOutput) ToTableExportMapOutput() TableExportMapOutput
- func (o TableExportMapOutput) ToTableExportMapOutputWithContext(ctx context.Context) TableExportMapOutput
- type TableExportOutput
- func (o TableExportOutput) Arn() pulumi.StringOutput
- func (o TableExportOutput) BilledSizeInBytes() pulumi.IntOutput
- func (TableExportOutput) ElementType() reflect.Type
- func (o TableExportOutput) EndTime() pulumi.StringOutput
- func (o TableExportOutput) ExportFormat() pulumi.StringPtrOutput
- func (o TableExportOutput) ExportStatus() pulumi.StringOutput
- func (o TableExportOutput) ExportTime() pulumi.StringOutput
- func (o TableExportOutput) ItemCount() pulumi.IntOutput
- func (o TableExportOutput) ManifestFilesS3Key() pulumi.StringOutput
- func (o TableExportOutput) S3Bucket() pulumi.StringOutput
- func (o TableExportOutput) S3BucketOwner() pulumi.StringOutput
- func (o TableExportOutput) S3Prefix() pulumi.StringOutput
- func (o TableExportOutput) S3SseAlgorithm() pulumi.StringOutput
- func (o TableExportOutput) S3SseKmsKeyId() pulumi.StringPtrOutput
- func (o TableExportOutput) StartTime() pulumi.StringOutput
- func (o TableExportOutput) TableArn() pulumi.StringOutput
- func (o TableExportOutput) ToTableExportOutput() TableExportOutput
- func (o TableExportOutput) ToTableExportOutputWithContext(ctx context.Context) TableExportOutput
- type TableExportState
- type TableGlobalSecondaryIndex
- type TableGlobalSecondaryIndexArgs
- func (TableGlobalSecondaryIndexArgs) ElementType() reflect.Type
- func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
- func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
- type TableGlobalSecondaryIndexArray
- func (TableGlobalSecondaryIndexArray) ElementType() reflect.Type
- func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
- func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
- type TableGlobalSecondaryIndexArrayInput
- type TableGlobalSecondaryIndexArrayOutput
- func (TableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o TableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableGlobalSecondaryIndexOutput
- func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
- func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
- type TableGlobalSecondaryIndexInput
- type TableGlobalSecondaryIndexOutput
- func (TableGlobalSecondaryIndexOutput) ElementType() reflect.Type
- func (o TableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput
- func (o TableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o TableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o TableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o TableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringPtrOutput
- func (o TableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntPtrOutput
- func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
- func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
- func (o TableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntPtrOutput
- type TableImportTable
- type TableImportTableArgs
- func (TableImportTableArgs) ElementType() reflect.Type
- func (i TableImportTableArgs) ToTableImportTableOutput() TableImportTableOutput
- func (i TableImportTableArgs) ToTableImportTableOutputWithContext(ctx context.Context) TableImportTableOutput
- func (i TableImportTableArgs) ToTableImportTablePtrOutput() TableImportTablePtrOutput
- func (i TableImportTableArgs) ToTableImportTablePtrOutputWithContext(ctx context.Context) TableImportTablePtrOutput
- type TableImportTableInput
- type TableImportTableInputFormatOptions
- type TableImportTableInputFormatOptionsArgs
- func (TableImportTableInputFormatOptionsArgs) ElementType() reflect.Type
- func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsOutput() TableImportTableInputFormatOptionsOutput
- func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsOutput
- func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsPtrOutput() TableImportTableInputFormatOptionsPtrOutput
- func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsPtrOutput
- type TableImportTableInputFormatOptionsCsv
- type TableImportTableInputFormatOptionsCsvArgs
- func (TableImportTableInputFormatOptionsCsvArgs) ElementType() reflect.Type
- func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvOutput() TableImportTableInputFormatOptionsCsvOutput
- func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvOutput
- func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvPtrOutput() TableImportTableInputFormatOptionsCsvPtrOutput
- func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvPtrOutput
- type TableImportTableInputFormatOptionsCsvInput
- type TableImportTableInputFormatOptionsCsvOutput
- func (o TableImportTableInputFormatOptionsCsvOutput) Delimiter() pulumi.StringPtrOutput
- func (TableImportTableInputFormatOptionsCsvOutput) ElementType() reflect.Type
- func (o TableImportTableInputFormatOptionsCsvOutput) HeaderLists() pulumi.StringArrayOutput
- func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvOutput() TableImportTableInputFormatOptionsCsvOutput
- func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvOutput
- func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvPtrOutput() TableImportTableInputFormatOptionsCsvPtrOutput
- func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvPtrOutput
- type TableImportTableInputFormatOptionsCsvPtrInput
- type TableImportTableInputFormatOptionsCsvPtrOutput
- func (o TableImportTableInputFormatOptionsCsvPtrOutput) Delimiter() pulumi.StringPtrOutput
- func (o TableImportTableInputFormatOptionsCsvPtrOutput) Elem() TableImportTableInputFormatOptionsCsvOutput
- func (TableImportTableInputFormatOptionsCsvPtrOutput) ElementType() reflect.Type
- func (o TableImportTableInputFormatOptionsCsvPtrOutput) HeaderLists() pulumi.StringArrayOutput
- func (o TableImportTableInputFormatOptionsCsvPtrOutput) ToTableImportTableInputFormatOptionsCsvPtrOutput() TableImportTableInputFormatOptionsCsvPtrOutput
- func (o TableImportTableInputFormatOptionsCsvPtrOutput) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvPtrOutput
- type TableImportTableInputFormatOptionsInput
- type TableImportTableInputFormatOptionsOutput
- func (o TableImportTableInputFormatOptionsOutput) Csv() TableImportTableInputFormatOptionsCsvPtrOutput
- func (TableImportTableInputFormatOptionsOutput) ElementType() reflect.Type
- func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsOutput() TableImportTableInputFormatOptionsOutput
- func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsOutput
- func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsPtrOutput() TableImportTableInputFormatOptionsPtrOutput
- func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsPtrOutput
- type TableImportTableInputFormatOptionsPtrInput
- type TableImportTableInputFormatOptionsPtrOutput
- func (o TableImportTableInputFormatOptionsPtrOutput) Csv() TableImportTableInputFormatOptionsCsvPtrOutput
- func (o TableImportTableInputFormatOptionsPtrOutput) Elem() TableImportTableInputFormatOptionsOutput
- func (TableImportTableInputFormatOptionsPtrOutput) ElementType() reflect.Type
- func (o TableImportTableInputFormatOptionsPtrOutput) ToTableImportTableInputFormatOptionsPtrOutput() TableImportTableInputFormatOptionsPtrOutput
- func (o TableImportTableInputFormatOptionsPtrOutput) ToTableImportTableInputFormatOptionsPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsPtrOutput
- type TableImportTableOutput
- func (TableImportTableOutput) ElementType() reflect.Type
- func (o TableImportTableOutput) InputCompressionType() pulumi.StringPtrOutput
- func (o TableImportTableOutput) InputFormat() pulumi.StringOutput
- func (o TableImportTableOutput) InputFormatOptions() TableImportTableInputFormatOptionsPtrOutput
- func (o TableImportTableOutput) S3BucketSource() TableImportTableS3BucketSourceOutput
- func (o TableImportTableOutput) ToTableImportTableOutput() TableImportTableOutput
- func (o TableImportTableOutput) ToTableImportTableOutputWithContext(ctx context.Context) TableImportTableOutput
- func (o TableImportTableOutput) ToTableImportTablePtrOutput() TableImportTablePtrOutput
- func (o TableImportTableOutput) ToTableImportTablePtrOutputWithContext(ctx context.Context) TableImportTablePtrOutput
- type TableImportTablePtrInput
- type TableImportTablePtrOutput
- func (o TableImportTablePtrOutput) Elem() TableImportTableOutput
- func (TableImportTablePtrOutput) ElementType() reflect.Type
- func (o TableImportTablePtrOutput) InputCompressionType() pulumi.StringPtrOutput
- func (o TableImportTablePtrOutput) InputFormat() pulumi.StringPtrOutput
- func (o TableImportTablePtrOutput) InputFormatOptions() TableImportTableInputFormatOptionsPtrOutput
- func (o TableImportTablePtrOutput) S3BucketSource() TableImportTableS3BucketSourcePtrOutput
- func (o TableImportTablePtrOutput) ToTableImportTablePtrOutput() TableImportTablePtrOutput
- func (o TableImportTablePtrOutput) ToTableImportTablePtrOutputWithContext(ctx context.Context) TableImportTablePtrOutput
- type TableImportTableS3BucketSource
- type TableImportTableS3BucketSourceArgs
- func (TableImportTableS3BucketSourceArgs) ElementType() reflect.Type
- func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourceOutput() TableImportTableS3BucketSourceOutput
- func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourceOutputWithContext(ctx context.Context) TableImportTableS3BucketSourceOutput
- func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourcePtrOutput() TableImportTableS3BucketSourcePtrOutput
- func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourcePtrOutputWithContext(ctx context.Context) TableImportTableS3BucketSourcePtrOutput
- type TableImportTableS3BucketSourceInput
- type TableImportTableS3BucketSourceOutput
- func (o TableImportTableS3BucketSourceOutput) Bucket() pulumi.StringOutput
- func (o TableImportTableS3BucketSourceOutput) BucketOwner() pulumi.StringPtrOutput
- func (TableImportTableS3BucketSourceOutput) ElementType() reflect.Type
- func (o TableImportTableS3BucketSourceOutput) KeyPrefix() pulumi.StringPtrOutput
- func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourceOutput() TableImportTableS3BucketSourceOutput
- func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourceOutputWithContext(ctx context.Context) TableImportTableS3BucketSourceOutput
- func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourcePtrOutput() TableImportTableS3BucketSourcePtrOutput
- func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourcePtrOutputWithContext(ctx context.Context) TableImportTableS3BucketSourcePtrOutput
- type TableImportTableS3BucketSourcePtrInput
- type TableImportTableS3BucketSourcePtrOutput
- func (o TableImportTableS3BucketSourcePtrOutput) Bucket() pulumi.StringPtrOutput
- func (o TableImportTableS3BucketSourcePtrOutput) BucketOwner() pulumi.StringPtrOutput
- func (o TableImportTableS3BucketSourcePtrOutput) Elem() TableImportTableS3BucketSourceOutput
- func (TableImportTableS3BucketSourcePtrOutput) ElementType() reflect.Type
- func (o TableImportTableS3BucketSourcePtrOutput) KeyPrefix() pulumi.StringPtrOutput
- func (o TableImportTableS3BucketSourcePtrOutput) ToTableImportTableS3BucketSourcePtrOutput() TableImportTableS3BucketSourcePtrOutput
- func (o TableImportTableS3BucketSourcePtrOutput) ToTableImportTableS3BucketSourcePtrOutputWithContext(ctx context.Context) TableImportTableS3BucketSourcePtrOutput
- type TableInput
- type TableItem
- type TableItemArgs
- type TableItemArray
- type TableItemArrayInput
- type TableItemArrayOutput
- func (TableItemArrayOutput) ElementType() reflect.Type
- func (o TableItemArrayOutput) Index(i pulumi.IntInput) TableItemOutput
- func (o TableItemArrayOutput) ToTableItemArrayOutput() TableItemArrayOutput
- func (o TableItemArrayOutput) ToTableItemArrayOutputWithContext(ctx context.Context) TableItemArrayOutput
- type TableItemInput
- type TableItemMap
- type TableItemMapInput
- type TableItemMapOutput
- type TableItemOutput
- func (TableItemOutput) ElementType() reflect.Type
- func (o TableItemOutput) HashKey() pulumi.StringOutput
- func (o TableItemOutput) Item() pulumi.StringOutput
- func (o TableItemOutput) RangeKey() pulumi.StringPtrOutput
- func (o TableItemOutput) TableName() pulumi.StringOutput
- func (o TableItemOutput) ToTableItemOutput() TableItemOutput
- func (o TableItemOutput) ToTableItemOutputWithContext(ctx context.Context) TableItemOutput
- type TableItemState
- type TableLocalSecondaryIndex
- type TableLocalSecondaryIndexArgs
- func (TableLocalSecondaryIndexArgs) ElementType() reflect.Type
- func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
- func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
- type TableLocalSecondaryIndexArray
- func (TableLocalSecondaryIndexArray) ElementType() reflect.Type
- func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
- func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
- type TableLocalSecondaryIndexArrayInput
- type TableLocalSecondaryIndexArrayOutput
- func (TableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
- func (o TableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableLocalSecondaryIndexOutput
- func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
- func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
- type TableLocalSecondaryIndexInput
- type TableLocalSecondaryIndexOutput
- func (TableLocalSecondaryIndexOutput) ElementType() reflect.Type
- func (o TableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
- func (o TableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
- func (o TableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
- func (o TableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
- func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
- func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
- type TableMap
- type TableMapInput
- type TableMapOutput
- type TableOutput
- func (o TableOutput) Arn() pulumi.StringOutput
- func (o TableOutput) Attributes() TableAttributeArrayOutput
- func (o TableOutput) BillingMode() pulumi.StringPtrOutput
- func (o TableOutput) DeletionProtectionEnabled() pulumi.BoolPtrOutput
- func (TableOutput) ElementType() reflect.Type
- func (o TableOutput) GlobalSecondaryIndexes() TableGlobalSecondaryIndexArrayOutput
- func (o TableOutput) HashKey() pulumi.StringOutput
- func (o TableOutput) ImportTable() TableImportTablePtrOutput
- func (o TableOutput) LocalSecondaryIndexes() TableLocalSecondaryIndexArrayOutput
- func (o TableOutput) Name() pulumi.StringOutput
- func (o TableOutput) PointInTimeRecovery() TablePointInTimeRecoveryOutput
- func (o TableOutput) RangeKey() pulumi.StringPtrOutput
- func (o TableOutput) ReadCapacity() pulumi.IntOutput
- func (o TableOutput) Replicas() TableReplicaTypeArrayOutput
- func (o TableOutput) RestoreDateTime() pulumi.StringPtrOutput
- func (o TableOutput) RestoreSourceName() pulumi.StringPtrOutput
- func (o TableOutput) RestoreToLatestTime() pulumi.BoolPtrOutput
- func (o TableOutput) ServerSideEncryption() TableServerSideEncryptionOutput
- func (o TableOutput) StreamArn() pulumi.StringOutput
- func (o TableOutput) StreamEnabled() pulumi.BoolPtrOutput
- func (o TableOutput) StreamLabel() pulumi.StringOutput
- func (o TableOutput) StreamViewType() pulumi.StringOutput
- func (o TableOutput) TableClass() pulumi.StringPtrOutput
- func (o TableOutput) Tags() pulumi.StringMapOutput
- func (o TableOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o TableOutput) ToTableOutput() TableOutput
- func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput
- func (o TableOutput) Ttl() TableTtlOutput
- func (o TableOutput) WriteCapacity() pulumi.IntOutput
- type TablePointInTimeRecovery
- type TablePointInTimeRecoveryArgs
- func (TablePointInTimeRecoveryArgs) ElementType() reflect.Type
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
- func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
- type TablePointInTimeRecoveryInput
- type TablePointInTimeRecoveryOutput
- func (TablePointInTimeRecoveryOutput) ElementType() reflect.Type
- func (o TablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
- func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
- type TablePointInTimeRecoveryPtrInput
- type TablePointInTimeRecoveryPtrOutput
- func (o TablePointInTimeRecoveryPtrOutput) Elem() TablePointInTimeRecoveryOutput
- func (TablePointInTimeRecoveryPtrOutput) ElementType() reflect.Type
- func (o TablePointInTimeRecoveryPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
- func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
- type TableReplica
- type TableReplicaArgs
- type TableReplicaArray
- type TableReplicaArrayInput
- type TableReplicaArrayOutput
- func (TableReplicaArrayOutput) ElementType() reflect.Type
- func (o TableReplicaArrayOutput) Index(i pulumi.IntInput) TableReplicaOutput
- func (o TableReplicaArrayOutput) ToTableReplicaArrayOutput() TableReplicaArrayOutput
- func (o TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput
- type TableReplicaInput
- type TableReplicaMap
- type TableReplicaMapInput
- type TableReplicaMapOutput
- func (TableReplicaMapOutput) ElementType() reflect.Type
- func (o TableReplicaMapOutput) MapIndex(k pulumi.StringInput) TableReplicaOutput
- func (o TableReplicaMapOutput) ToTableReplicaMapOutput() TableReplicaMapOutput
- func (o TableReplicaMapOutput) ToTableReplicaMapOutputWithContext(ctx context.Context) TableReplicaMapOutput
- type TableReplicaOutput
- func (o TableReplicaOutput) Arn() pulumi.StringOutput
- func (TableReplicaOutput) ElementType() reflect.Type
- func (o TableReplicaOutput) GlobalTableArn() pulumi.StringOutput
- func (o TableReplicaOutput) KmsKeyArn() pulumi.StringOutput
- func (o TableReplicaOutput) PointInTimeRecovery() pulumi.BoolPtrOutput
- func (o TableReplicaOutput) TableClassOverride() pulumi.StringPtrOutput
- func (o TableReplicaOutput) Tags() pulumi.StringMapOutput
- func (o TableReplicaOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o TableReplicaOutput) ToTableReplicaOutput() TableReplicaOutput
- func (o TableReplicaOutput) ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput
- type TableReplicaState
- type TableReplicaType
- type TableReplicaTypeArgs
- type TableReplicaTypeArray
- type TableReplicaTypeArrayInput
- type TableReplicaTypeArrayOutput
- func (TableReplicaTypeArrayOutput) ElementType() reflect.Type
- func (o TableReplicaTypeArrayOutput) Index(i pulumi.IntInput) TableReplicaTypeOutput
- func (o TableReplicaTypeArrayOutput) ToTableReplicaTypeArrayOutput() TableReplicaTypeArrayOutput
- func (o TableReplicaTypeArrayOutput) ToTableReplicaTypeArrayOutputWithContext(ctx context.Context) TableReplicaTypeArrayOutput
- type TableReplicaTypeInput
- type TableReplicaTypeOutput
- func (o TableReplicaTypeOutput) Arn() pulumi.StringPtrOutput
- func (TableReplicaTypeOutput) ElementType() reflect.Type
- func (o TableReplicaTypeOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o TableReplicaTypeOutput) PointInTimeRecovery() pulumi.BoolPtrOutput
- func (o TableReplicaTypeOutput) PropagateTags() pulumi.BoolPtrOutput
- func (o TableReplicaTypeOutput) RegionName() pulumi.StringOutput
- func (o TableReplicaTypeOutput) StreamArn() pulumi.StringPtrOutput
- func (o TableReplicaTypeOutput) StreamLabel() pulumi.StringPtrOutput
- func (o TableReplicaTypeOutput) ToTableReplicaTypeOutput() TableReplicaTypeOutput
- func (o TableReplicaTypeOutput) ToTableReplicaTypeOutputWithContext(ctx context.Context) TableReplicaTypeOutput
- type TableServerSideEncryption
- type TableServerSideEncryptionArgs
- func (TableServerSideEncryptionArgs) ElementType() reflect.Type
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
- func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
- type TableServerSideEncryptionInput
- type TableServerSideEncryptionOutput
- func (TableServerSideEncryptionOutput) ElementType() reflect.Type
- func (o TableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
- func (o TableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
- func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
- type TableServerSideEncryptionPtrInput
- type TableServerSideEncryptionPtrOutput
- func (o TableServerSideEncryptionPtrOutput) Elem() TableServerSideEncryptionOutput
- func (TableServerSideEncryptionPtrOutput) ElementType() reflect.Type
- func (o TableServerSideEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o TableServerSideEncryptionPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
- func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
- type TableState
- type TableTtl
- type TableTtlArgs
- func (TableTtlArgs) ElementType() reflect.Type
- func (i TableTtlArgs) ToTableTtlOutput() TableTtlOutput
- func (i TableTtlArgs) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
- func (i TableTtlArgs) ToTableTtlPtrOutput() TableTtlPtrOutput
- func (i TableTtlArgs) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
- type TableTtlInput
- type TableTtlOutput
- func (o TableTtlOutput) AttributeName() pulumi.StringOutput
- func (TableTtlOutput) ElementType() reflect.Type
- func (o TableTtlOutput) Enabled() pulumi.BoolPtrOutput
- func (o TableTtlOutput) ToTableTtlOutput() TableTtlOutput
- func (o TableTtlOutput) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
- func (o TableTtlOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
- func (o TableTtlOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
- type TableTtlPtrInput
- type TableTtlPtrOutput
- func (o TableTtlPtrOutput) AttributeName() pulumi.StringPtrOutput
- func (o TableTtlPtrOutput) Elem() TableTtlOutput
- func (TableTtlPtrOutput) ElementType() reflect.Type
- func (o TableTtlPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o TableTtlPtrOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
- func (o TableTtlPtrOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
- type Tag
- type TagArgs
- type TagArray
- type TagArrayInput
- type TagArrayOutput
- type TagInput
- type TagMap
- type TagMapInput
- type TagMapOutput
- type TagOutput
- func (TagOutput) ElementType() reflect.Type
- func (o TagOutput) Key() pulumi.StringOutput
- func (o TagOutput) ResourceArn() pulumi.StringOutput
- func (o TagOutput) ToTagOutput() TagOutput
- func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput
- func (o TagOutput) Value() pulumi.StringOutput
- type TagState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContributorInsights ¶
type ContributorInsights struct { pulumi.CustomResourceState // The global secondary index name IndexName pulumi.StringPtrOutput `pulumi:"indexName"` // The name of the table to enable contributor insights TableName pulumi.StringOutput `pulumi:"tableName"` }
Provides a DynamoDB contributor insights resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.NewContributorInsights(ctx, "test", &dynamodb.ContributorInsightsArgs{ TableName: pulumi.String("ExampleTableName"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import `aws_dynamodb_contributor_insights` using the format `name:table_name/index:index_name`, followed by the account number. For example:
```sh $ pulumi import aws:dynamodb/contributorInsights:ContributorInsights test name:ExampleTableName/index:ExampleIndexName/123456789012 ```
func GetContributorInsights ¶
func GetContributorInsights(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ContributorInsightsState, opts ...pulumi.ResourceOption) (*ContributorInsights, error)
GetContributorInsights gets an existing ContributorInsights resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewContributorInsights ¶
func NewContributorInsights(ctx *pulumi.Context, name string, args *ContributorInsightsArgs, opts ...pulumi.ResourceOption) (*ContributorInsights, error)
NewContributorInsights registers a new resource with the given unique name, arguments, and options.
func (*ContributorInsights) ElementType ¶
func (*ContributorInsights) ElementType() reflect.Type
func (*ContributorInsights) ToContributorInsightsOutput ¶
func (i *ContributorInsights) ToContributorInsightsOutput() ContributorInsightsOutput
func (*ContributorInsights) ToContributorInsightsOutputWithContext ¶
func (i *ContributorInsights) ToContributorInsightsOutputWithContext(ctx context.Context) ContributorInsightsOutput
type ContributorInsightsArgs ¶
type ContributorInsightsArgs struct { // The global secondary index name IndexName pulumi.StringPtrInput // The name of the table to enable contributor insights TableName pulumi.StringInput }
The set of arguments for constructing a ContributorInsights resource.
func (ContributorInsightsArgs) ElementType ¶
func (ContributorInsightsArgs) ElementType() reflect.Type
type ContributorInsightsArray ¶
type ContributorInsightsArray []ContributorInsightsInput
func (ContributorInsightsArray) ElementType ¶
func (ContributorInsightsArray) ElementType() reflect.Type
func (ContributorInsightsArray) ToContributorInsightsArrayOutput ¶
func (i ContributorInsightsArray) ToContributorInsightsArrayOutput() ContributorInsightsArrayOutput
func (ContributorInsightsArray) ToContributorInsightsArrayOutputWithContext ¶
func (i ContributorInsightsArray) ToContributorInsightsArrayOutputWithContext(ctx context.Context) ContributorInsightsArrayOutput
type ContributorInsightsArrayInput ¶
type ContributorInsightsArrayInput interface { pulumi.Input ToContributorInsightsArrayOutput() ContributorInsightsArrayOutput ToContributorInsightsArrayOutputWithContext(context.Context) ContributorInsightsArrayOutput }
ContributorInsightsArrayInput is an input type that accepts ContributorInsightsArray and ContributorInsightsArrayOutput values. You can construct a concrete instance of `ContributorInsightsArrayInput` via:
ContributorInsightsArray{ ContributorInsightsArgs{...} }
type ContributorInsightsArrayOutput ¶
type ContributorInsightsArrayOutput struct{ *pulumi.OutputState }
func (ContributorInsightsArrayOutput) ElementType ¶
func (ContributorInsightsArrayOutput) ElementType() reflect.Type
func (ContributorInsightsArrayOutput) Index ¶
func (o ContributorInsightsArrayOutput) Index(i pulumi.IntInput) ContributorInsightsOutput
func (ContributorInsightsArrayOutput) ToContributorInsightsArrayOutput ¶
func (o ContributorInsightsArrayOutput) ToContributorInsightsArrayOutput() ContributorInsightsArrayOutput
func (ContributorInsightsArrayOutput) ToContributorInsightsArrayOutputWithContext ¶
func (o ContributorInsightsArrayOutput) ToContributorInsightsArrayOutputWithContext(ctx context.Context) ContributorInsightsArrayOutput
type ContributorInsightsInput ¶
type ContributorInsightsInput interface { pulumi.Input ToContributorInsightsOutput() ContributorInsightsOutput ToContributorInsightsOutputWithContext(ctx context.Context) ContributorInsightsOutput }
type ContributorInsightsMap ¶
type ContributorInsightsMap map[string]ContributorInsightsInput
func (ContributorInsightsMap) ElementType ¶
func (ContributorInsightsMap) ElementType() reflect.Type
func (ContributorInsightsMap) ToContributorInsightsMapOutput ¶
func (i ContributorInsightsMap) ToContributorInsightsMapOutput() ContributorInsightsMapOutput
func (ContributorInsightsMap) ToContributorInsightsMapOutputWithContext ¶
func (i ContributorInsightsMap) ToContributorInsightsMapOutputWithContext(ctx context.Context) ContributorInsightsMapOutput
type ContributorInsightsMapInput ¶
type ContributorInsightsMapInput interface { pulumi.Input ToContributorInsightsMapOutput() ContributorInsightsMapOutput ToContributorInsightsMapOutputWithContext(context.Context) ContributorInsightsMapOutput }
ContributorInsightsMapInput is an input type that accepts ContributorInsightsMap and ContributorInsightsMapOutput values. You can construct a concrete instance of `ContributorInsightsMapInput` via:
ContributorInsightsMap{ "key": ContributorInsightsArgs{...} }
type ContributorInsightsMapOutput ¶
type ContributorInsightsMapOutput struct{ *pulumi.OutputState }
func (ContributorInsightsMapOutput) ElementType ¶
func (ContributorInsightsMapOutput) ElementType() reflect.Type
func (ContributorInsightsMapOutput) MapIndex ¶
func (o ContributorInsightsMapOutput) MapIndex(k pulumi.StringInput) ContributorInsightsOutput
func (ContributorInsightsMapOutput) ToContributorInsightsMapOutput ¶
func (o ContributorInsightsMapOutput) ToContributorInsightsMapOutput() ContributorInsightsMapOutput
func (ContributorInsightsMapOutput) ToContributorInsightsMapOutputWithContext ¶
func (o ContributorInsightsMapOutput) ToContributorInsightsMapOutputWithContext(ctx context.Context) ContributorInsightsMapOutput
type ContributorInsightsOutput ¶
type ContributorInsightsOutput struct{ *pulumi.OutputState }
func (ContributorInsightsOutput) ElementType ¶
func (ContributorInsightsOutput) ElementType() reflect.Type
func (ContributorInsightsOutput) IndexName ¶
func (o ContributorInsightsOutput) IndexName() pulumi.StringPtrOutput
The global secondary index name
func (ContributorInsightsOutput) TableName ¶
func (o ContributorInsightsOutput) TableName() pulumi.StringOutput
The name of the table to enable contributor insights
func (ContributorInsightsOutput) ToContributorInsightsOutput ¶
func (o ContributorInsightsOutput) ToContributorInsightsOutput() ContributorInsightsOutput
func (ContributorInsightsOutput) ToContributorInsightsOutputWithContext ¶
func (o ContributorInsightsOutput) ToContributorInsightsOutputWithContext(ctx context.Context) ContributorInsightsOutput
type ContributorInsightsState ¶
type ContributorInsightsState struct { // The global secondary index name IndexName pulumi.StringPtrInput // The name of the table to enable contributor insights TableName pulumi.StringPtrInput }
func (ContributorInsightsState) ElementType ¶
func (ContributorInsightsState) ElementType() reflect.Type
type GetTableAttribute ¶
type GetTableAttributeArgs ¶
type GetTableAttributeArgs struct { // Name of the DynamoDB table. Name pulumi.StringInput `pulumi:"name"` Type pulumi.StringInput `pulumi:"type"` }
func (GetTableAttributeArgs) ElementType ¶
func (GetTableAttributeArgs) ElementType() reflect.Type
func (GetTableAttributeArgs) ToGetTableAttributeOutput ¶
func (i GetTableAttributeArgs) ToGetTableAttributeOutput() GetTableAttributeOutput
func (GetTableAttributeArgs) ToGetTableAttributeOutputWithContext ¶
func (i GetTableAttributeArgs) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput
type GetTableAttributeArray ¶
type GetTableAttributeArray []GetTableAttributeInput
func (GetTableAttributeArray) ElementType ¶
func (GetTableAttributeArray) ElementType() reflect.Type
func (GetTableAttributeArray) ToGetTableAttributeArrayOutput ¶
func (i GetTableAttributeArray) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput
func (GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext ¶
func (i GetTableAttributeArray) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput
type GetTableAttributeArrayInput ¶
type GetTableAttributeArrayInput interface { pulumi.Input ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput ToGetTableAttributeArrayOutputWithContext(context.Context) GetTableAttributeArrayOutput }
GetTableAttributeArrayInput is an input type that accepts GetTableAttributeArray and GetTableAttributeArrayOutput values. You can construct a concrete instance of `GetTableAttributeArrayInput` via:
GetTableAttributeArray{ GetTableAttributeArgs{...} }
type GetTableAttributeArrayOutput ¶
type GetTableAttributeArrayOutput struct{ *pulumi.OutputState }
func (GetTableAttributeArrayOutput) ElementType ¶
func (GetTableAttributeArrayOutput) ElementType() reflect.Type
func (GetTableAttributeArrayOutput) Index ¶
func (o GetTableAttributeArrayOutput) Index(i pulumi.IntInput) GetTableAttributeOutput
func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput ¶
func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutput() GetTableAttributeArrayOutput
func (GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext ¶
func (o GetTableAttributeArrayOutput) ToGetTableAttributeArrayOutputWithContext(ctx context.Context) GetTableAttributeArrayOutput
type GetTableAttributeInput ¶
type GetTableAttributeInput interface { pulumi.Input ToGetTableAttributeOutput() GetTableAttributeOutput ToGetTableAttributeOutputWithContext(context.Context) GetTableAttributeOutput }
GetTableAttributeInput is an input type that accepts GetTableAttributeArgs and GetTableAttributeOutput values. You can construct a concrete instance of `GetTableAttributeInput` via:
GetTableAttributeArgs{...}
type GetTableAttributeOutput ¶
type GetTableAttributeOutput struct{ *pulumi.OutputState }
func (GetTableAttributeOutput) ElementType ¶
func (GetTableAttributeOutput) ElementType() reflect.Type
func (GetTableAttributeOutput) Name ¶
func (o GetTableAttributeOutput) Name() pulumi.StringOutput
Name of the DynamoDB table.
func (GetTableAttributeOutput) ToGetTableAttributeOutput ¶
func (o GetTableAttributeOutput) ToGetTableAttributeOutput() GetTableAttributeOutput
func (GetTableAttributeOutput) ToGetTableAttributeOutputWithContext ¶
func (o GetTableAttributeOutput) ToGetTableAttributeOutputWithContext(ctx context.Context) GetTableAttributeOutput
func (GetTableAttributeOutput) Type ¶
func (o GetTableAttributeOutput) Type() pulumi.StringOutput
type GetTableGlobalSecondaryIndex ¶
type GetTableGlobalSecondaryIndex struct { HashKey string `pulumi:"hashKey"` // Name of the DynamoDB table. Name string `pulumi:"name"` NonKeyAttributes []string `pulumi:"nonKeyAttributes"` ProjectionType string `pulumi:"projectionType"` RangeKey string `pulumi:"rangeKey"` ReadCapacity int `pulumi:"readCapacity"` WriteCapacity int `pulumi:"writeCapacity"` }
type GetTableGlobalSecondaryIndexArgs ¶
type GetTableGlobalSecondaryIndexArgs struct { HashKey pulumi.StringInput `pulumi:"hashKey"` // Name of the DynamoDB table. Name pulumi.StringInput `pulumi:"name"` NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` ProjectionType pulumi.StringInput `pulumi:"projectionType"` RangeKey pulumi.StringInput `pulumi:"rangeKey"` ReadCapacity pulumi.IntInput `pulumi:"readCapacity"` WriteCapacity pulumi.IntInput `pulumi:"writeCapacity"` }
func (GetTableGlobalSecondaryIndexArgs) ElementType ¶
func (GetTableGlobalSecondaryIndexArgs) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput ¶
func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
func (GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext ¶
func (i GetTableGlobalSecondaryIndexArgs) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
type GetTableGlobalSecondaryIndexArray ¶
type GetTableGlobalSecondaryIndexArray []GetTableGlobalSecondaryIndexInput
func (GetTableGlobalSecondaryIndexArray) ElementType ¶
func (GetTableGlobalSecondaryIndexArray) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput ¶
func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
func (GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (i GetTableGlobalSecondaryIndexArray) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
type GetTableGlobalSecondaryIndexArrayInput ¶
type GetTableGlobalSecondaryIndexArrayInput interface { pulumi.Input ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput ToGetTableGlobalSecondaryIndexArrayOutputWithContext(context.Context) GetTableGlobalSecondaryIndexArrayOutput }
GetTableGlobalSecondaryIndexArrayInput is an input type that accepts GetTableGlobalSecondaryIndexArray and GetTableGlobalSecondaryIndexArrayOutput values. You can construct a concrete instance of `GetTableGlobalSecondaryIndexArrayInput` via:
GetTableGlobalSecondaryIndexArray{ GetTableGlobalSecondaryIndexArgs{...} }
type GetTableGlobalSecondaryIndexArrayOutput ¶
type GetTableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (GetTableGlobalSecondaryIndexArrayOutput) ElementType ¶
func (GetTableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput ¶
func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutput() GetTableGlobalSecondaryIndexArrayOutput
func (GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (o GetTableGlobalSecondaryIndexArrayOutput) ToGetTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexArrayOutput
type GetTableGlobalSecondaryIndexInput ¶
type GetTableGlobalSecondaryIndexInput interface { pulumi.Input ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput ToGetTableGlobalSecondaryIndexOutputWithContext(context.Context) GetTableGlobalSecondaryIndexOutput }
GetTableGlobalSecondaryIndexInput is an input type that accepts GetTableGlobalSecondaryIndexArgs and GetTableGlobalSecondaryIndexOutput values. You can construct a concrete instance of `GetTableGlobalSecondaryIndexInput` via:
GetTableGlobalSecondaryIndexArgs{...}
type GetTableGlobalSecondaryIndexOutput ¶
type GetTableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (GetTableGlobalSecondaryIndexOutput) ElementType ¶
func (GetTableGlobalSecondaryIndexOutput) ElementType() reflect.Type
func (GetTableGlobalSecondaryIndexOutput) HashKey ¶
func (o GetTableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput
func (GetTableGlobalSecondaryIndexOutput) Name ¶
func (o GetTableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
Name of the DynamoDB table.
func (GetTableGlobalSecondaryIndexOutput) NonKeyAttributes ¶
func (o GetTableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
func (GetTableGlobalSecondaryIndexOutput) ProjectionType ¶
func (o GetTableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
func (GetTableGlobalSecondaryIndexOutput) RangeKey ¶
func (o GetTableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
func (GetTableGlobalSecondaryIndexOutput) ReadCapacity ¶
func (o GetTableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntOutput
func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput ¶
func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutput() GetTableGlobalSecondaryIndexOutput
func (GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext ¶
func (o GetTableGlobalSecondaryIndexOutput) ToGetTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) GetTableGlobalSecondaryIndexOutput
func (GetTableGlobalSecondaryIndexOutput) WriteCapacity ¶
func (o GetTableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntOutput
type GetTableLocalSecondaryIndexArgs ¶
type GetTableLocalSecondaryIndexArgs struct { // Name of the DynamoDB table. Name pulumi.StringInput `pulumi:"name"` NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` ProjectionType pulumi.StringInput `pulumi:"projectionType"` RangeKey pulumi.StringInput `pulumi:"rangeKey"` }
func (GetTableLocalSecondaryIndexArgs) ElementType ¶
func (GetTableLocalSecondaryIndexArgs) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput ¶
func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
func (GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext ¶
func (i GetTableLocalSecondaryIndexArgs) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
type GetTableLocalSecondaryIndexArray ¶
type GetTableLocalSecondaryIndexArray []GetTableLocalSecondaryIndexInput
func (GetTableLocalSecondaryIndexArray) ElementType ¶
func (GetTableLocalSecondaryIndexArray) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput ¶
func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
func (GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext ¶
func (i GetTableLocalSecondaryIndexArray) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
type GetTableLocalSecondaryIndexArrayInput ¶
type GetTableLocalSecondaryIndexArrayInput interface { pulumi.Input ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput ToGetTableLocalSecondaryIndexArrayOutputWithContext(context.Context) GetTableLocalSecondaryIndexArrayOutput }
GetTableLocalSecondaryIndexArrayInput is an input type that accepts GetTableLocalSecondaryIndexArray and GetTableLocalSecondaryIndexArrayOutput values. You can construct a concrete instance of `GetTableLocalSecondaryIndexArrayInput` via:
GetTableLocalSecondaryIndexArray{ GetTableLocalSecondaryIndexArgs{...} }
type GetTableLocalSecondaryIndexArrayOutput ¶
type GetTableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (GetTableLocalSecondaryIndexArrayOutput) ElementType ¶
func (GetTableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput ¶
func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutput() GetTableLocalSecondaryIndexArrayOutput
func (GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext ¶
func (o GetTableLocalSecondaryIndexArrayOutput) ToGetTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexArrayOutput
type GetTableLocalSecondaryIndexInput ¶
type GetTableLocalSecondaryIndexInput interface { pulumi.Input ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput ToGetTableLocalSecondaryIndexOutputWithContext(context.Context) GetTableLocalSecondaryIndexOutput }
GetTableLocalSecondaryIndexInput is an input type that accepts GetTableLocalSecondaryIndexArgs and GetTableLocalSecondaryIndexOutput values. You can construct a concrete instance of `GetTableLocalSecondaryIndexInput` via:
GetTableLocalSecondaryIndexArgs{...}
type GetTableLocalSecondaryIndexOutput ¶
type GetTableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (GetTableLocalSecondaryIndexOutput) ElementType ¶
func (GetTableLocalSecondaryIndexOutput) ElementType() reflect.Type
func (GetTableLocalSecondaryIndexOutput) Name ¶
func (o GetTableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
Name of the DynamoDB table.
func (GetTableLocalSecondaryIndexOutput) NonKeyAttributes ¶
func (o GetTableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
func (GetTableLocalSecondaryIndexOutput) ProjectionType ¶
func (o GetTableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
func (GetTableLocalSecondaryIndexOutput) RangeKey ¶
func (o GetTableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput ¶
func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutput() GetTableLocalSecondaryIndexOutput
func (GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext ¶
func (o GetTableLocalSecondaryIndexOutput) ToGetTableLocalSecondaryIndexOutputWithContext(ctx context.Context) GetTableLocalSecondaryIndexOutput
type GetTablePointInTimeRecovery ¶
type GetTablePointInTimeRecovery struct {
Enabled bool `pulumi:"enabled"`
}
type GetTablePointInTimeRecoveryArgs ¶
func (GetTablePointInTimeRecoveryArgs) ElementType ¶
func (GetTablePointInTimeRecoveryArgs) ElementType() reflect.Type
func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput ¶
func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
func (GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext ¶
func (i GetTablePointInTimeRecoveryArgs) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
type GetTablePointInTimeRecoveryInput ¶
type GetTablePointInTimeRecoveryInput interface { pulumi.Input ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput ToGetTablePointInTimeRecoveryOutputWithContext(context.Context) GetTablePointInTimeRecoveryOutput }
GetTablePointInTimeRecoveryInput is an input type that accepts GetTablePointInTimeRecoveryArgs and GetTablePointInTimeRecoveryOutput values. You can construct a concrete instance of `GetTablePointInTimeRecoveryInput` via:
GetTablePointInTimeRecoveryArgs{...}
type GetTablePointInTimeRecoveryOutput ¶
type GetTablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }
func (GetTablePointInTimeRecoveryOutput) ElementType ¶
func (GetTablePointInTimeRecoveryOutput) ElementType() reflect.Type
func (GetTablePointInTimeRecoveryOutput) Enabled ¶
func (o GetTablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput ¶
func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutput() GetTablePointInTimeRecoveryOutput
func (GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext ¶
func (o GetTablePointInTimeRecoveryOutput) ToGetTablePointInTimeRecoveryOutputWithContext(ctx context.Context) GetTablePointInTimeRecoveryOutput
type GetTableReplicaType ¶
type GetTableReplicaTypeArgs ¶
type GetTableReplicaTypeArgs struct { KmsKeyArn pulumi.StringInput `pulumi:"kmsKeyArn"` RegionName pulumi.StringInput `pulumi:"regionName"` }
func (GetTableReplicaTypeArgs) ElementType ¶
func (GetTableReplicaTypeArgs) ElementType() reflect.Type
func (GetTableReplicaTypeArgs) ToGetTableReplicaTypeOutput ¶
func (i GetTableReplicaTypeArgs) ToGetTableReplicaTypeOutput() GetTableReplicaTypeOutput
func (GetTableReplicaTypeArgs) ToGetTableReplicaTypeOutputWithContext ¶
func (i GetTableReplicaTypeArgs) ToGetTableReplicaTypeOutputWithContext(ctx context.Context) GetTableReplicaTypeOutput
type GetTableReplicaTypeArray ¶
type GetTableReplicaTypeArray []GetTableReplicaTypeInput
func (GetTableReplicaTypeArray) ElementType ¶
func (GetTableReplicaTypeArray) ElementType() reflect.Type
func (GetTableReplicaTypeArray) ToGetTableReplicaTypeArrayOutput ¶
func (i GetTableReplicaTypeArray) ToGetTableReplicaTypeArrayOutput() GetTableReplicaTypeArrayOutput
func (GetTableReplicaTypeArray) ToGetTableReplicaTypeArrayOutputWithContext ¶
func (i GetTableReplicaTypeArray) ToGetTableReplicaTypeArrayOutputWithContext(ctx context.Context) GetTableReplicaTypeArrayOutput
type GetTableReplicaTypeArrayInput ¶
type GetTableReplicaTypeArrayInput interface { pulumi.Input ToGetTableReplicaTypeArrayOutput() GetTableReplicaTypeArrayOutput ToGetTableReplicaTypeArrayOutputWithContext(context.Context) GetTableReplicaTypeArrayOutput }
GetTableReplicaTypeArrayInput is an input type that accepts GetTableReplicaTypeArray and GetTableReplicaTypeArrayOutput values. You can construct a concrete instance of `GetTableReplicaTypeArrayInput` via:
GetTableReplicaTypeArray{ GetTableReplicaTypeArgs{...} }
type GetTableReplicaTypeArrayOutput ¶
type GetTableReplicaTypeArrayOutput struct{ *pulumi.OutputState }
func (GetTableReplicaTypeArrayOutput) ElementType ¶
func (GetTableReplicaTypeArrayOutput) ElementType() reflect.Type
func (GetTableReplicaTypeArrayOutput) Index ¶
func (o GetTableReplicaTypeArrayOutput) Index(i pulumi.IntInput) GetTableReplicaTypeOutput
func (GetTableReplicaTypeArrayOutput) ToGetTableReplicaTypeArrayOutput ¶
func (o GetTableReplicaTypeArrayOutput) ToGetTableReplicaTypeArrayOutput() GetTableReplicaTypeArrayOutput
func (GetTableReplicaTypeArrayOutput) ToGetTableReplicaTypeArrayOutputWithContext ¶
func (o GetTableReplicaTypeArrayOutput) ToGetTableReplicaTypeArrayOutputWithContext(ctx context.Context) GetTableReplicaTypeArrayOutput
type GetTableReplicaTypeInput ¶
type GetTableReplicaTypeInput interface { pulumi.Input ToGetTableReplicaTypeOutput() GetTableReplicaTypeOutput ToGetTableReplicaTypeOutputWithContext(context.Context) GetTableReplicaTypeOutput }
GetTableReplicaTypeInput is an input type that accepts GetTableReplicaTypeArgs and GetTableReplicaTypeOutput values. You can construct a concrete instance of `GetTableReplicaTypeInput` via:
GetTableReplicaTypeArgs{...}
type GetTableReplicaTypeOutput ¶
type GetTableReplicaTypeOutput struct{ *pulumi.OutputState }
func (GetTableReplicaTypeOutput) ElementType ¶
func (GetTableReplicaTypeOutput) ElementType() reflect.Type
func (GetTableReplicaTypeOutput) KmsKeyArn ¶
func (o GetTableReplicaTypeOutput) KmsKeyArn() pulumi.StringOutput
func (GetTableReplicaTypeOutput) RegionName ¶
func (o GetTableReplicaTypeOutput) RegionName() pulumi.StringOutput
func (GetTableReplicaTypeOutput) ToGetTableReplicaTypeOutput ¶
func (o GetTableReplicaTypeOutput) ToGetTableReplicaTypeOutput() GetTableReplicaTypeOutput
func (GetTableReplicaTypeOutput) ToGetTableReplicaTypeOutputWithContext ¶
func (o GetTableReplicaTypeOutput) ToGetTableReplicaTypeOutputWithContext(ctx context.Context) GetTableReplicaTypeOutput
type GetTableServerSideEncryptionArgs ¶
type GetTableServerSideEncryptionArgs struct { Enabled pulumi.BoolInput `pulumi:"enabled"` KmsKeyArn pulumi.StringInput `pulumi:"kmsKeyArn"` }
func (GetTableServerSideEncryptionArgs) ElementType ¶
func (GetTableServerSideEncryptionArgs) ElementType() reflect.Type
func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput ¶
func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext ¶
func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionPtrOutput ¶
func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionPtrOutput() GetTableServerSideEncryptionPtrOutput
func (GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionPtrOutputWithContext ¶
func (i GetTableServerSideEncryptionArgs) ToGetTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) GetTableServerSideEncryptionPtrOutput
type GetTableServerSideEncryptionInput ¶
type GetTableServerSideEncryptionInput interface { pulumi.Input ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput ToGetTableServerSideEncryptionOutputWithContext(context.Context) GetTableServerSideEncryptionOutput }
GetTableServerSideEncryptionInput is an input type that accepts GetTableServerSideEncryptionArgs and GetTableServerSideEncryptionOutput values. You can construct a concrete instance of `GetTableServerSideEncryptionInput` via:
GetTableServerSideEncryptionArgs{...}
type GetTableServerSideEncryptionOutput ¶
type GetTableServerSideEncryptionOutput struct{ *pulumi.OutputState }
func (GetTableServerSideEncryptionOutput) ElementType ¶
func (GetTableServerSideEncryptionOutput) ElementType() reflect.Type
func (GetTableServerSideEncryptionOutput) Enabled ¶
func (o GetTableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
func (GetTableServerSideEncryptionOutput) KmsKeyArn ¶
func (o GetTableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringOutput
func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput ¶
func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutput() GetTableServerSideEncryptionOutput
func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext ¶
func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionOutputWithContext(ctx context.Context) GetTableServerSideEncryptionOutput
func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionPtrOutput ¶
func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionPtrOutput() GetTableServerSideEncryptionPtrOutput
func (GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionPtrOutputWithContext ¶
func (o GetTableServerSideEncryptionOutput) ToGetTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) GetTableServerSideEncryptionPtrOutput
type GetTableServerSideEncryptionPtrInput ¶
type GetTableServerSideEncryptionPtrInput interface { pulumi.Input ToGetTableServerSideEncryptionPtrOutput() GetTableServerSideEncryptionPtrOutput ToGetTableServerSideEncryptionPtrOutputWithContext(context.Context) GetTableServerSideEncryptionPtrOutput }
GetTableServerSideEncryptionPtrInput is an input type that accepts GetTableServerSideEncryptionArgs, GetTableServerSideEncryptionPtr and GetTableServerSideEncryptionPtrOutput values. You can construct a concrete instance of `GetTableServerSideEncryptionPtrInput` via:
GetTableServerSideEncryptionArgs{...} or: nil
func GetTableServerSideEncryptionPtr ¶
func GetTableServerSideEncryptionPtr(v *GetTableServerSideEncryptionArgs) GetTableServerSideEncryptionPtrInput
type GetTableServerSideEncryptionPtrOutput ¶
type GetTableServerSideEncryptionPtrOutput struct{ *pulumi.OutputState }
func (GetTableServerSideEncryptionPtrOutput) ElementType ¶
func (GetTableServerSideEncryptionPtrOutput) ElementType() reflect.Type
func (GetTableServerSideEncryptionPtrOutput) Enabled ¶
func (o GetTableServerSideEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput
func (GetTableServerSideEncryptionPtrOutput) KmsKeyArn ¶
func (o GetTableServerSideEncryptionPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
func (GetTableServerSideEncryptionPtrOutput) ToGetTableServerSideEncryptionPtrOutput ¶
func (o GetTableServerSideEncryptionPtrOutput) ToGetTableServerSideEncryptionPtrOutput() GetTableServerSideEncryptionPtrOutput
func (GetTableServerSideEncryptionPtrOutput) ToGetTableServerSideEncryptionPtrOutputWithContext ¶
func (o GetTableServerSideEncryptionPtrOutput) ToGetTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) GetTableServerSideEncryptionPtrOutput
type GetTableTtl ¶
type GetTableTtlArgs ¶
type GetTableTtlArgs struct { AttributeName pulumi.StringInput `pulumi:"attributeName"` Enabled pulumi.BoolInput `pulumi:"enabled"` }
func (GetTableTtlArgs) ElementType ¶
func (GetTableTtlArgs) ElementType() reflect.Type
func (GetTableTtlArgs) ToGetTableTtlOutput ¶
func (i GetTableTtlArgs) ToGetTableTtlOutput() GetTableTtlOutput
func (GetTableTtlArgs) ToGetTableTtlOutputWithContext ¶
func (i GetTableTtlArgs) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput
type GetTableTtlInput ¶
type GetTableTtlInput interface { pulumi.Input ToGetTableTtlOutput() GetTableTtlOutput ToGetTableTtlOutputWithContext(context.Context) GetTableTtlOutput }
GetTableTtlInput is an input type that accepts GetTableTtlArgs and GetTableTtlOutput values. You can construct a concrete instance of `GetTableTtlInput` via:
GetTableTtlArgs{...}
type GetTableTtlOutput ¶
type GetTableTtlOutput struct{ *pulumi.OutputState }
func (GetTableTtlOutput) AttributeName ¶
func (o GetTableTtlOutput) AttributeName() pulumi.StringOutput
func (GetTableTtlOutput) ElementType ¶
func (GetTableTtlOutput) ElementType() reflect.Type
func (GetTableTtlOutput) Enabled ¶
func (o GetTableTtlOutput) Enabled() pulumi.BoolOutput
func (GetTableTtlOutput) ToGetTableTtlOutput ¶
func (o GetTableTtlOutput) ToGetTableTtlOutput() GetTableTtlOutput
func (GetTableTtlOutput) ToGetTableTtlOutputWithContext ¶
func (o GetTableTtlOutput) ToGetTableTtlOutputWithContext(ctx context.Context) GetTableTtlOutput
type GlobalTable ¶
type GlobalTable struct { pulumi.CustomResourceState // The ARN of the DynamoDB Global Table Arn pulumi.StringOutput `pulumi:"arn"` // The name of the global table. Must match underlying DynamoDB Table names in all regions. Name pulumi.StringOutput `pulumi:"name"` // Underlying DynamoDB Table. At least 1 replica must be defined. See below. Replicas GlobalTableReplicaArrayOutput `pulumi:"replicas"` }
Manages [DynamoDB Global Tables V1 (version 2017.11.29)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html). These are layered on top of existing DynamoDB Tables.
> **NOTE:** To instead manage [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html), use the `dynamodb.Table` resource `replica` configuration block.
> Note: There are many restrictions before you can properly create DynamoDB Global Tables in multiple regions. See the [AWS DynamoDB Global Table Requirements](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables_reqs_bestpractices.html) for more information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.NewTable(ctx, "us-east-1", &dynamodb.TableArgs{ HashKey: pulumi.String("myAttribute"), Name: pulumi.String("myTable"), StreamEnabled: pulumi.Bool(true), StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"), ReadCapacity: pulumi.Int(1), WriteCapacity: pulumi.Int(1), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("myAttribute"), Type: pulumi.String("S"), }, }, }) if err != nil { return err } _, err = dynamodb.NewTable(ctx, "us-west-2", &dynamodb.TableArgs{ HashKey: pulumi.String("myAttribute"), Name: pulumi.String("myTable"), StreamEnabled: pulumi.Bool(true), StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"), ReadCapacity: pulumi.Int(1), WriteCapacity: pulumi.Int(1), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("myAttribute"), Type: pulumi.String("S"), }, }, }) if err != nil { return err } _, err = dynamodb.NewGlobalTable(ctx, "myTable", &dynamodb.GlobalTableArgs{ Name: pulumi.String("myTable"), Replicas: dynamodb.GlobalTableReplicaArray{ &dynamodb.GlobalTableReplicaArgs{ RegionName: pulumi.String("us-east-1"), }, &dynamodb.GlobalTableReplicaArgs{ RegionName: pulumi.String("us-west-2"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ us_east_1, us_west_2, })) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DynamoDB Global Tables using the global table name. For example:
```sh $ pulumi import aws:dynamodb/globalTable:GlobalTable MyTable MyTable ```
func GetGlobalTable ¶
func GetGlobalTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GlobalTableState, opts ...pulumi.ResourceOption) (*GlobalTable, error)
GetGlobalTable gets an existing GlobalTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewGlobalTable ¶
func NewGlobalTable(ctx *pulumi.Context, name string, args *GlobalTableArgs, opts ...pulumi.ResourceOption) (*GlobalTable, error)
NewGlobalTable registers a new resource with the given unique name, arguments, and options.
func (*GlobalTable) ElementType ¶
func (*GlobalTable) ElementType() reflect.Type
func (*GlobalTable) ToGlobalTableOutput ¶
func (i *GlobalTable) ToGlobalTableOutput() GlobalTableOutput
func (*GlobalTable) ToGlobalTableOutputWithContext ¶
func (i *GlobalTable) ToGlobalTableOutputWithContext(ctx context.Context) GlobalTableOutput
type GlobalTableArgs ¶
type GlobalTableArgs struct { // The name of the global table. Must match underlying DynamoDB Table names in all regions. Name pulumi.StringPtrInput // Underlying DynamoDB Table. At least 1 replica must be defined. See below. Replicas GlobalTableReplicaArrayInput }
The set of arguments for constructing a GlobalTable resource.
func (GlobalTableArgs) ElementType ¶
func (GlobalTableArgs) ElementType() reflect.Type
type GlobalTableArray ¶
type GlobalTableArray []GlobalTableInput
func (GlobalTableArray) ElementType ¶
func (GlobalTableArray) ElementType() reflect.Type
func (GlobalTableArray) ToGlobalTableArrayOutput ¶
func (i GlobalTableArray) ToGlobalTableArrayOutput() GlobalTableArrayOutput
func (GlobalTableArray) ToGlobalTableArrayOutputWithContext ¶
func (i GlobalTableArray) ToGlobalTableArrayOutputWithContext(ctx context.Context) GlobalTableArrayOutput
type GlobalTableArrayInput ¶
type GlobalTableArrayInput interface { pulumi.Input ToGlobalTableArrayOutput() GlobalTableArrayOutput ToGlobalTableArrayOutputWithContext(context.Context) GlobalTableArrayOutput }
GlobalTableArrayInput is an input type that accepts GlobalTableArray and GlobalTableArrayOutput values. You can construct a concrete instance of `GlobalTableArrayInput` via:
GlobalTableArray{ GlobalTableArgs{...} }
type GlobalTableArrayOutput ¶
type GlobalTableArrayOutput struct{ *pulumi.OutputState }
func (GlobalTableArrayOutput) ElementType ¶
func (GlobalTableArrayOutput) ElementType() reflect.Type
func (GlobalTableArrayOutput) Index ¶
func (o GlobalTableArrayOutput) Index(i pulumi.IntInput) GlobalTableOutput
func (GlobalTableArrayOutput) ToGlobalTableArrayOutput ¶
func (o GlobalTableArrayOutput) ToGlobalTableArrayOutput() GlobalTableArrayOutput
func (GlobalTableArrayOutput) ToGlobalTableArrayOutputWithContext ¶
func (o GlobalTableArrayOutput) ToGlobalTableArrayOutputWithContext(ctx context.Context) GlobalTableArrayOutput
type GlobalTableInput ¶
type GlobalTableInput interface { pulumi.Input ToGlobalTableOutput() GlobalTableOutput ToGlobalTableOutputWithContext(ctx context.Context) GlobalTableOutput }
type GlobalTableMap ¶
type GlobalTableMap map[string]GlobalTableInput
func (GlobalTableMap) ElementType ¶
func (GlobalTableMap) ElementType() reflect.Type
func (GlobalTableMap) ToGlobalTableMapOutput ¶
func (i GlobalTableMap) ToGlobalTableMapOutput() GlobalTableMapOutput
func (GlobalTableMap) ToGlobalTableMapOutputWithContext ¶
func (i GlobalTableMap) ToGlobalTableMapOutputWithContext(ctx context.Context) GlobalTableMapOutput
type GlobalTableMapInput ¶
type GlobalTableMapInput interface { pulumi.Input ToGlobalTableMapOutput() GlobalTableMapOutput ToGlobalTableMapOutputWithContext(context.Context) GlobalTableMapOutput }
GlobalTableMapInput is an input type that accepts GlobalTableMap and GlobalTableMapOutput values. You can construct a concrete instance of `GlobalTableMapInput` via:
GlobalTableMap{ "key": GlobalTableArgs{...} }
type GlobalTableMapOutput ¶
type GlobalTableMapOutput struct{ *pulumi.OutputState }
func (GlobalTableMapOutput) ElementType ¶
func (GlobalTableMapOutput) ElementType() reflect.Type
func (GlobalTableMapOutput) MapIndex ¶
func (o GlobalTableMapOutput) MapIndex(k pulumi.StringInput) GlobalTableOutput
func (GlobalTableMapOutput) ToGlobalTableMapOutput ¶
func (o GlobalTableMapOutput) ToGlobalTableMapOutput() GlobalTableMapOutput
func (GlobalTableMapOutput) ToGlobalTableMapOutputWithContext ¶
func (o GlobalTableMapOutput) ToGlobalTableMapOutputWithContext(ctx context.Context) GlobalTableMapOutput
type GlobalTableOutput ¶
type GlobalTableOutput struct{ *pulumi.OutputState }
func (GlobalTableOutput) Arn ¶
func (o GlobalTableOutput) Arn() pulumi.StringOutput
The ARN of the DynamoDB Global Table
func (GlobalTableOutput) ElementType ¶
func (GlobalTableOutput) ElementType() reflect.Type
func (GlobalTableOutput) Name ¶
func (o GlobalTableOutput) Name() pulumi.StringOutput
The name of the global table. Must match underlying DynamoDB Table names in all regions.
func (GlobalTableOutput) Replicas ¶
func (o GlobalTableOutput) Replicas() GlobalTableReplicaArrayOutput
Underlying DynamoDB Table. At least 1 replica must be defined. See below.
func (GlobalTableOutput) ToGlobalTableOutput ¶
func (o GlobalTableOutput) ToGlobalTableOutput() GlobalTableOutput
func (GlobalTableOutput) ToGlobalTableOutputWithContext ¶
func (o GlobalTableOutput) ToGlobalTableOutputWithContext(ctx context.Context) GlobalTableOutput
type GlobalTableReplica ¶
type GlobalTableReplica struct { // AWS region name of replica DynamoDB TableE.g., `us-east-1` RegionName string `pulumi:"regionName"` }
type GlobalTableReplicaArgs ¶
type GlobalTableReplicaArgs struct { // AWS region name of replica DynamoDB TableE.g., `us-east-1` RegionName pulumi.StringInput `pulumi:"regionName"` }
func (GlobalTableReplicaArgs) ElementType ¶
func (GlobalTableReplicaArgs) ElementType() reflect.Type
func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutput ¶
func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput
func (GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext ¶
func (i GlobalTableReplicaArgs) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput
type GlobalTableReplicaArray ¶
type GlobalTableReplicaArray []GlobalTableReplicaInput
func (GlobalTableReplicaArray) ElementType ¶
func (GlobalTableReplicaArray) ElementType() reflect.Type
func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput ¶
func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput
func (GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext ¶
func (i GlobalTableReplicaArray) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput
type GlobalTableReplicaArrayInput ¶
type GlobalTableReplicaArrayInput interface { pulumi.Input ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput ToGlobalTableReplicaArrayOutputWithContext(context.Context) GlobalTableReplicaArrayOutput }
GlobalTableReplicaArrayInput is an input type that accepts GlobalTableReplicaArray and GlobalTableReplicaArrayOutput values. You can construct a concrete instance of `GlobalTableReplicaArrayInput` via:
GlobalTableReplicaArray{ GlobalTableReplicaArgs{...} }
type GlobalTableReplicaArrayOutput ¶
type GlobalTableReplicaArrayOutput struct{ *pulumi.OutputState }
func (GlobalTableReplicaArrayOutput) ElementType ¶
func (GlobalTableReplicaArrayOutput) ElementType() reflect.Type
func (GlobalTableReplicaArrayOutput) Index ¶
func (o GlobalTableReplicaArrayOutput) Index(i pulumi.IntInput) GlobalTableReplicaOutput
func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput ¶
func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutput() GlobalTableReplicaArrayOutput
func (GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext ¶
func (o GlobalTableReplicaArrayOutput) ToGlobalTableReplicaArrayOutputWithContext(ctx context.Context) GlobalTableReplicaArrayOutput
type GlobalTableReplicaInput ¶
type GlobalTableReplicaInput interface { pulumi.Input ToGlobalTableReplicaOutput() GlobalTableReplicaOutput ToGlobalTableReplicaOutputWithContext(context.Context) GlobalTableReplicaOutput }
GlobalTableReplicaInput is an input type that accepts GlobalTableReplicaArgs and GlobalTableReplicaOutput values. You can construct a concrete instance of `GlobalTableReplicaInput` via:
GlobalTableReplicaArgs{...}
type GlobalTableReplicaOutput ¶
type GlobalTableReplicaOutput struct{ *pulumi.OutputState }
func (GlobalTableReplicaOutput) ElementType ¶
func (GlobalTableReplicaOutput) ElementType() reflect.Type
func (GlobalTableReplicaOutput) RegionName ¶
func (o GlobalTableReplicaOutput) RegionName() pulumi.StringOutput
AWS region name of replica DynamoDB TableE.g., `us-east-1`
func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutput ¶
func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutput() GlobalTableReplicaOutput
func (GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext ¶
func (o GlobalTableReplicaOutput) ToGlobalTableReplicaOutputWithContext(ctx context.Context) GlobalTableReplicaOutput
type GlobalTableState ¶
type GlobalTableState struct { // The ARN of the DynamoDB Global Table Arn pulumi.StringPtrInput // The name of the global table. Must match underlying DynamoDB Table names in all regions. Name pulumi.StringPtrInput // Underlying DynamoDB Table. At least 1 replica must be defined. See below. Replicas GlobalTableReplicaArrayInput }
func (GlobalTableState) ElementType ¶
func (GlobalTableState) ElementType() reflect.Type
type KinesisStreamingDestination ¶
type KinesisStreamingDestination struct { pulumi.CustomResourceState // The ARN for a Kinesis data stream. This must exist in the same account and region as the DynamoDB table. StreamArn pulumi.StringOutput `pulumi:"streamArn"` // The name of the DynamoDB table. There // can only be one Kinesis streaming destination for a given DynamoDB table. TableName pulumi.StringOutput `pulumi:"tableName"` }
Enables a [Kinesis streaming destination](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/kds.html) for data replication of a DynamoDB table.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{ Name: pulumi.String("orders"), HashKey: pulumi.String("id"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("id"), Type: pulumi.String("S"), }, }, }) if err != nil { return err } exampleStream, err := kinesis.NewStream(ctx, "example", &kinesis.StreamArgs{ Name: pulumi.String("order_item_changes"), ShardCount: pulumi.Int(1), }) if err != nil { return err } _, err = dynamodb.NewKinesisStreamingDestination(ctx, "example", &dynamodb.KinesisStreamingDestinationArgs{ StreamArn: exampleStream.Arn, TableName: example.Name, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DynamoDB Kinesis Streaming Destinations using the `table_name` and `stream_arn` separated by `,`. For example:
```sh $ pulumi import aws:dynamodb/kinesisStreamingDestination:KinesisStreamingDestination example example,arn:aws:kinesis:us-east-1:111122223333:exampleStreamName ```
func GetKinesisStreamingDestination ¶
func GetKinesisStreamingDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KinesisStreamingDestinationState, opts ...pulumi.ResourceOption) (*KinesisStreamingDestination, error)
GetKinesisStreamingDestination gets an existing KinesisStreamingDestination resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewKinesisStreamingDestination ¶
func NewKinesisStreamingDestination(ctx *pulumi.Context, name string, args *KinesisStreamingDestinationArgs, opts ...pulumi.ResourceOption) (*KinesisStreamingDestination, error)
NewKinesisStreamingDestination registers a new resource with the given unique name, arguments, and options.
func (*KinesisStreamingDestination) ElementType ¶
func (*KinesisStreamingDestination) ElementType() reflect.Type
func (*KinesisStreamingDestination) ToKinesisStreamingDestinationOutput ¶
func (i *KinesisStreamingDestination) ToKinesisStreamingDestinationOutput() KinesisStreamingDestinationOutput
func (*KinesisStreamingDestination) ToKinesisStreamingDestinationOutputWithContext ¶
func (i *KinesisStreamingDestination) ToKinesisStreamingDestinationOutputWithContext(ctx context.Context) KinesisStreamingDestinationOutput
type KinesisStreamingDestinationArgs ¶
type KinesisStreamingDestinationArgs struct { // The ARN for a Kinesis data stream. This must exist in the same account and region as the DynamoDB table. StreamArn pulumi.StringInput // The name of the DynamoDB table. There // can only be one Kinesis streaming destination for a given DynamoDB table. TableName pulumi.StringInput }
The set of arguments for constructing a KinesisStreamingDestination resource.
func (KinesisStreamingDestinationArgs) ElementType ¶
func (KinesisStreamingDestinationArgs) ElementType() reflect.Type
type KinesisStreamingDestinationArray ¶
type KinesisStreamingDestinationArray []KinesisStreamingDestinationInput
func (KinesisStreamingDestinationArray) ElementType ¶
func (KinesisStreamingDestinationArray) ElementType() reflect.Type
func (KinesisStreamingDestinationArray) ToKinesisStreamingDestinationArrayOutput ¶
func (i KinesisStreamingDestinationArray) ToKinesisStreamingDestinationArrayOutput() KinesisStreamingDestinationArrayOutput
func (KinesisStreamingDestinationArray) ToKinesisStreamingDestinationArrayOutputWithContext ¶
func (i KinesisStreamingDestinationArray) ToKinesisStreamingDestinationArrayOutputWithContext(ctx context.Context) KinesisStreamingDestinationArrayOutput
type KinesisStreamingDestinationArrayInput ¶
type KinesisStreamingDestinationArrayInput interface { pulumi.Input ToKinesisStreamingDestinationArrayOutput() KinesisStreamingDestinationArrayOutput ToKinesisStreamingDestinationArrayOutputWithContext(context.Context) KinesisStreamingDestinationArrayOutput }
KinesisStreamingDestinationArrayInput is an input type that accepts KinesisStreamingDestinationArray and KinesisStreamingDestinationArrayOutput values. You can construct a concrete instance of `KinesisStreamingDestinationArrayInput` via:
KinesisStreamingDestinationArray{ KinesisStreamingDestinationArgs{...} }
type KinesisStreamingDestinationArrayOutput ¶
type KinesisStreamingDestinationArrayOutput struct{ *pulumi.OutputState }
func (KinesisStreamingDestinationArrayOutput) ElementType ¶
func (KinesisStreamingDestinationArrayOutput) ElementType() reflect.Type
func (KinesisStreamingDestinationArrayOutput) ToKinesisStreamingDestinationArrayOutput ¶
func (o KinesisStreamingDestinationArrayOutput) ToKinesisStreamingDestinationArrayOutput() KinesisStreamingDestinationArrayOutput
func (KinesisStreamingDestinationArrayOutput) ToKinesisStreamingDestinationArrayOutputWithContext ¶
func (o KinesisStreamingDestinationArrayOutput) ToKinesisStreamingDestinationArrayOutputWithContext(ctx context.Context) KinesisStreamingDestinationArrayOutput
type KinesisStreamingDestinationInput ¶
type KinesisStreamingDestinationInput interface { pulumi.Input ToKinesisStreamingDestinationOutput() KinesisStreamingDestinationOutput ToKinesisStreamingDestinationOutputWithContext(ctx context.Context) KinesisStreamingDestinationOutput }
type KinesisStreamingDestinationMap ¶
type KinesisStreamingDestinationMap map[string]KinesisStreamingDestinationInput
func (KinesisStreamingDestinationMap) ElementType ¶
func (KinesisStreamingDestinationMap) ElementType() reflect.Type
func (KinesisStreamingDestinationMap) ToKinesisStreamingDestinationMapOutput ¶
func (i KinesisStreamingDestinationMap) ToKinesisStreamingDestinationMapOutput() KinesisStreamingDestinationMapOutput
func (KinesisStreamingDestinationMap) ToKinesisStreamingDestinationMapOutputWithContext ¶
func (i KinesisStreamingDestinationMap) ToKinesisStreamingDestinationMapOutputWithContext(ctx context.Context) KinesisStreamingDestinationMapOutput
type KinesisStreamingDestinationMapInput ¶
type KinesisStreamingDestinationMapInput interface { pulumi.Input ToKinesisStreamingDestinationMapOutput() KinesisStreamingDestinationMapOutput ToKinesisStreamingDestinationMapOutputWithContext(context.Context) KinesisStreamingDestinationMapOutput }
KinesisStreamingDestinationMapInput is an input type that accepts KinesisStreamingDestinationMap and KinesisStreamingDestinationMapOutput values. You can construct a concrete instance of `KinesisStreamingDestinationMapInput` via:
KinesisStreamingDestinationMap{ "key": KinesisStreamingDestinationArgs{...} }
type KinesisStreamingDestinationMapOutput ¶
type KinesisStreamingDestinationMapOutput struct{ *pulumi.OutputState }
func (KinesisStreamingDestinationMapOutput) ElementType ¶
func (KinesisStreamingDestinationMapOutput) ElementType() reflect.Type
func (KinesisStreamingDestinationMapOutput) MapIndex ¶
func (o KinesisStreamingDestinationMapOutput) MapIndex(k pulumi.StringInput) KinesisStreamingDestinationOutput
func (KinesisStreamingDestinationMapOutput) ToKinesisStreamingDestinationMapOutput ¶
func (o KinesisStreamingDestinationMapOutput) ToKinesisStreamingDestinationMapOutput() KinesisStreamingDestinationMapOutput
func (KinesisStreamingDestinationMapOutput) ToKinesisStreamingDestinationMapOutputWithContext ¶
func (o KinesisStreamingDestinationMapOutput) ToKinesisStreamingDestinationMapOutputWithContext(ctx context.Context) KinesisStreamingDestinationMapOutput
type KinesisStreamingDestinationOutput ¶
type KinesisStreamingDestinationOutput struct{ *pulumi.OutputState }
func (KinesisStreamingDestinationOutput) ElementType ¶
func (KinesisStreamingDestinationOutput) ElementType() reflect.Type
func (KinesisStreamingDestinationOutput) StreamArn ¶
func (o KinesisStreamingDestinationOutput) StreamArn() pulumi.StringOutput
The ARN for a Kinesis data stream. This must exist in the same account and region as the DynamoDB table.
func (KinesisStreamingDestinationOutput) TableName ¶
func (o KinesisStreamingDestinationOutput) TableName() pulumi.StringOutput
The name of the DynamoDB table. There can only be one Kinesis streaming destination for a given DynamoDB table.
func (KinesisStreamingDestinationOutput) ToKinesisStreamingDestinationOutput ¶
func (o KinesisStreamingDestinationOutput) ToKinesisStreamingDestinationOutput() KinesisStreamingDestinationOutput
func (KinesisStreamingDestinationOutput) ToKinesisStreamingDestinationOutputWithContext ¶
func (o KinesisStreamingDestinationOutput) ToKinesisStreamingDestinationOutputWithContext(ctx context.Context) KinesisStreamingDestinationOutput
type KinesisStreamingDestinationState ¶
type KinesisStreamingDestinationState struct { // The ARN for a Kinesis data stream. This must exist in the same account and region as the DynamoDB table. StreamArn pulumi.StringPtrInput // The name of the DynamoDB table. There // can only be one Kinesis streaming destination for a given DynamoDB table. TableName pulumi.StringPtrInput }
func (KinesisStreamingDestinationState) ElementType ¶
func (KinesisStreamingDestinationState) ElementType() reflect.Type
type LookupTableArgs ¶
type LookupTableArgs struct { // Name of the DynamoDB table. Name string `pulumi:"name"` ServerSideEncryption *GetTableServerSideEncryption `pulumi:"serverSideEncryption"` Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getTable.
type LookupTableItemArgs ¶
type LookupTableItemArgs struct { ExpressionAttributeNames map[string]string `pulumi:"expressionAttributeNames"` // A map of attribute names to AttributeValue objects, representing the primary key of the item to retrieve. // For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. // // The following arguments are optional: Key string `pulumi:"key"` // A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. // If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result. ProjectionExpression *string `pulumi:"projectionExpression"` // The name of the table containing the requested item. TableName string `pulumi:"tableName"` }
A collection of arguments for invoking getTableItem.
type LookupTableItemOutputArgs ¶
type LookupTableItemOutputArgs struct { ExpressionAttributeNames pulumi.StringMapInput `pulumi:"expressionAttributeNames"` // A map of attribute names to AttributeValue objects, representing the primary key of the item to retrieve. // For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. // // The following arguments are optional: Key pulumi.StringInput `pulumi:"key"` // A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. // If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result. ProjectionExpression pulumi.StringPtrInput `pulumi:"projectionExpression"` // The name of the table containing the requested item. TableName pulumi.StringInput `pulumi:"tableName"` }
A collection of arguments for invoking getTableItem.
func (LookupTableItemOutputArgs) ElementType ¶
func (LookupTableItemOutputArgs) ElementType() reflect.Type
type LookupTableItemResult ¶
type LookupTableItemResult struct { ExpressionAttributeNames map[string]string `pulumi:"expressionAttributeNames"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // JSON representation of a map of attribute names to [AttributeValue](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html) objects, as specified by ProjectionExpression. Item string `pulumi:"item"` Key string `pulumi:"key"` ProjectionExpression *string `pulumi:"projectionExpression"` TableName string `pulumi:"tableName"` }
A collection of values returned by getTableItem.
func LookupTableItem ¶
func LookupTableItem(ctx *pulumi.Context, args *LookupTableItemArgs, opts ...pulumi.InvokeOption) (*LookupTableItemResult, error)
Data source for retrieving a value from an AWS DynamoDB table.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.LookupTableItem(ctx, &dynamodb.LookupTableItemArgs{ TableName: example.Name, ExpressionAttributeNames: map[string]interface{}{ "#P": "Percentile", }, ProjectionExpression: pulumi.StringRef("#P"), Key: "{\n \"hashKey\": {\"S\": \"example\"}\n}\n", }, nil) if err != nil { return err } return nil }) }
```
type LookupTableItemResultOutput ¶
type LookupTableItemResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTableItem.
func LookupTableItemOutput ¶
func LookupTableItemOutput(ctx *pulumi.Context, args LookupTableItemOutputArgs, opts ...pulumi.InvokeOption) LookupTableItemResultOutput
func (LookupTableItemResultOutput) ElementType ¶
func (LookupTableItemResultOutput) ElementType() reflect.Type
func (LookupTableItemResultOutput) ExpressionAttributeNames ¶
func (o LookupTableItemResultOutput) ExpressionAttributeNames() pulumi.StringMapOutput
func (LookupTableItemResultOutput) Id ¶
func (o LookupTableItemResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTableItemResultOutput) Item ¶
func (o LookupTableItemResultOutput) Item() pulumi.StringOutput
JSON representation of a map of attribute names to [AttributeValue](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html) objects, as specified by ProjectionExpression.
func (LookupTableItemResultOutput) Key ¶
func (o LookupTableItemResultOutput) Key() pulumi.StringOutput
func (LookupTableItemResultOutput) ProjectionExpression ¶
func (o LookupTableItemResultOutput) ProjectionExpression() pulumi.StringPtrOutput
func (LookupTableItemResultOutput) TableName ¶
func (o LookupTableItemResultOutput) TableName() pulumi.StringOutput
func (LookupTableItemResultOutput) ToLookupTableItemResultOutput ¶
func (o LookupTableItemResultOutput) ToLookupTableItemResultOutput() LookupTableItemResultOutput
func (LookupTableItemResultOutput) ToLookupTableItemResultOutputWithContext ¶
func (o LookupTableItemResultOutput) ToLookupTableItemResultOutputWithContext(ctx context.Context) LookupTableItemResultOutput
type LookupTableOutputArgs ¶
type LookupTableOutputArgs struct { // Name of the DynamoDB table. Name pulumi.StringInput `pulumi:"name"` ServerSideEncryption GetTableServerSideEncryptionPtrInput `pulumi:"serverSideEncryption"` Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getTable.
func (LookupTableOutputArgs) ElementType ¶
func (LookupTableOutputArgs) ElementType() reflect.Type
type LookupTableResult ¶
type LookupTableResult struct { Arn string `pulumi:"arn"` Attributes []GetTableAttribute `pulumi:"attributes"` BillingMode string `pulumi:"billingMode"` DeletionProtectionEnabled bool `pulumi:"deletionProtectionEnabled"` GlobalSecondaryIndexes []GetTableGlobalSecondaryIndex `pulumi:"globalSecondaryIndexes"` HashKey string `pulumi:"hashKey"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LocalSecondaryIndexes []GetTableLocalSecondaryIndex `pulumi:"localSecondaryIndexes"` Name string `pulumi:"name"` PointInTimeRecovery GetTablePointInTimeRecovery `pulumi:"pointInTimeRecovery"` RangeKey string `pulumi:"rangeKey"` ReadCapacity int `pulumi:"readCapacity"` Replicas []GetTableReplicaType `pulumi:"replicas"` ServerSideEncryption GetTableServerSideEncryption `pulumi:"serverSideEncryption"` StreamArn string `pulumi:"streamArn"` StreamEnabled bool `pulumi:"streamEnabled"` StreamLabel string `pulumi:"streamLabel"` StreamViewType string `pulumi:"streamViewType"` TableClass string `pulumi:"tableClass"` Tags map[string]string `pulumi:"tags"` Ttl GetTableTtl `pulumi:"ttl"` WriteCapacity int `pulumi:"writeCapacity"` }
A collection of values returned by getTable.
func LookupTable ¶
func LookupTable(ctx *pulumi.Context, args *LookupTableArgs, opts ...pulumi.InvokeOption) (*LookupTableResult, error)
Provides information about a DynamoDB table.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.LookupTable(ctx, &dynamodb.LookupTableArgs{ Name: "tableName", }, nil) if err != nil { return err } return nil }) }
```
type LookupTableResultOutput ¶
type LookupTableResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTable.
func LookupTableOutput ¶
func LookupTableOutput(ctx *pulumi.Context, args LookupTableOutputArgs, opts ...pulumi.InvokeOption) LookupTableResultOutput
func (LookupTableResultOutput) Arn ¶
func (o LookupTableResultOutput) Arn() pulumi.StringOutput
func (LookupTableResultOutput) Attributes ¶
func (o LookupTableResultOutput) Attributes() GetTableAttributeArrayOutput
func (LookupTableResultOutput) BillingMode ¶
func (o LookupTableResultOutput) BillingMode() pulumi.StringOutput
func (LookupTableResultOutput) DeletionProtectionEnabled ¶
func (o LookupTableResultOutput) DeletionProtectionEnabled() pulumi.BoolOutput
func (LookupTableResultOutput) ElementType ¶
func (LookupTableResultOutput) ElementType() reflect.Type
func (LookupTableResultOutput) GlobalSecondaryIndexes ¶
func (o LookupTableResultOutput) GlobalSecondaryIndexes() GetTableGlobalSecondaryIndexArrayOutput
func (LookupTableResultOutput) HashKey ¶
func (o LookupTableResultOutput) HashKey() pulumi.StringOutput
func (LookupTableResultOutput) Id ¶
func (o LookupTableResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTableResultOutput) LocalSecondaryIndexes ¶
func (o LookupTableResultOutput) LocalSecondaryIndexes() GetTableLocalSecondaryIndexArrayOutput
func (LookupTableResultOutput) Name ¶
func (o LookupTableResultOutput) Name() pulumi.StringOutput
func (LookupTableResultOutput) PointInTimeRecovery ¶
func (o LookupTableResultOutput) PointInTimeRecovery() GetTablePointInTimeRecoveryOutput
func (LookupTableResultOutput) RangeKey ¶
func (o LookupTableResultOutput) RangeKey() pulumi.StringOutput
func (LookupTableResultOutput) ReadCapacity ¶
func (o LookupTableResultOutput) ReadCapacity() pulumi.IntOutput
func (LookupTableResultOutput) Replicas ¶
func (o LookupTableResultOutput) Replicas() GetTableReplicaTypeArrayOutput
func (LookupTableResultOutput) ServerSideEncryption ¶
func (o LookupTableResultOutput) ServerSideEncryption() GetTableServerSideEncryptionOutput
func (LookupTableResultOutput) StreamArn ¶
func (o LookupTableResultOutput) StreamArn() pulumi.StringOutput
func (LookupTableResultOutput) StreamEnabled ¶
func (o LookupTableResultOutput) StreamEnabled() pulumi.BoolOutput
func (LookupTableResultOutput) StreamLabel ¶
func (o LookupTableResultOutput) StreamLabel() pulumi.StringOutput
func (LookupTableResultOutput) StreamViewType ¶
func (o LookupTableResultOutput) StreamViewType() pulumi.StringOutput
func (LookupTableResultOutput) TableClass ¶
func (o LookupTableResultOutput) TableClass() pulumi.StringOutput
func (LookupTableResultOutput) Tags ¶
func (o LookupTableResultOutput) Tags() pulumi.StringMapOutput
func (LookupTableResultOutput) ToLookupTableResultOutput ¶
func (o LookupTableResultOutput) ToLookupTableResultOutput() LookupTableResultOutput
func (LookupTableResultOutput) ToLookupTableResultOutputWithContext ¶
func (o LookupTableResultOutput) ToLookupTableResultOutputWithContext(ctx context.Context) LookupTableResultOutput
func (LookupTableResultOutput) Ttl ¶
func (o LookupTableResultOutput) Ttl() GetTableTtlOutput
func (LookupTableResultOutput) WriteCapacity ¶
func (o LookupTableResultOutput) WriteCapacity() pulumi.IntOutput
type ResourcePolicy ¶ added in v6.29.0
type ResourcePolicy struct { pulumi.CustomResourceState // Set this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future. ConfirmRemoveSelfResourceAccess pulumi.BoolOutput `pulumi:"confirmRemoveSelfResourceAccess"` // n Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations. // // The following arguments are optional: Policy pulumi.StringOutput `pulumi:"policy"` // The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. The resources you can specify include tables and streams. You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the Resource field of a given Statement in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple Statement fields in your policy document. ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` // A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic. RevisionId pulumi.StringOutput `pulumi:"revisionId"` }
Resource for managing an AWS DynamoDB Resource Policy.
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.NewResourcePolicy(ctx, "example", &dynamodb.ResourcePolicyArgs{ ResourceArn: pulumi.Any(exampleAwsDynamodbTable.Arn), Policy: pulumi.Any(test.Json), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DynamoDB Resource Policy using the `example_id_arg`. For example:
```sh $ pulumi import aws:dynamodb/resourcePolicy:ResourcePolicy example arn:aws:dynamodb:us-east-1:1234567890:table/my-table ```
func GetResourcePolicy ¶ added in v6.29.0
func GetResourcePolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourcePolicyState, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)
GetResourcePolicy gets an existing ResourcePolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResourcePolicy ¶ added in v6.29.0
func NewResourcePolicy(ctx *pulumi.Context, name string, args *ResourcePolicyArgs, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)
NewResourcePolicy registers a new resource with the given unique name, arguments, and options.
func (*ResourcePolicy) ElementType ¶ added in v6.29.0
func (*ResourcePolicy) ElementType() reflect.Type
func (*ResourcePolicy) ToResourcePolicyOutput ¶ added in v6.29.0
func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput
func (*ResourcePolicy) ToResourcePolicyOutputWithContext ¶ added in v6.29.0
func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
type ResourcePolicyArgs ¶ added in v6.29.0
type ResourcePolicyArgs struct { // Set this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future. ConfirmRemoveSelfResourceAccess pulumi.BoolPtrInput // n Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations. // // The following arguments are optional: Policy pulumi.StringInput // The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. The resources you can specify include tables and streams. You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the Resource field of a given Statement in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple Statement fields in your policy document. ResourceArn pulumi.StringInput }
The set of arguments for constructing a ResourcePolicy resource.
func (ResourcePolicyArgs) ElementType ¶ added in v6.29.0
func (ResourcePolicyArgs) ElementType() reflect.Type
type ResourcePolicyArray ¶ added in v6.29.0
type ResourcePolicyArray []ResourcePolicyInput
func (ResourcePolicyArray) ElementType ¶ added in v6.29.0
func (ResourcePolicyArray) ElementType() reflect.Type
func (ResourcePolicyArray) ToResourcePolicyArrayOutput ¶ added in v6.29.0
func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext ¶ added in v6.29.0
func (i ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput
type ResourcePolicyArrayInput ¶ added in v6.29.0
type ResourcePolicyArrayInput interface { pulumi.Input ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput ToResourcePolicyArrayOutputWithContext(context.Context) ResourcePolicyArrayOutput }
ResourcePolicyArrayInput is an input type that accepts ResourcePolicyArray and ResourcePolicyArrayOutput values. You can construct a concrete instance of `ResourcePolicyArrayInput` via:
ResourcePolicyArray{ ResourcePolicyArgs{...} }
type ResourcePolicyArrayOutput ¶ added in v6.29.0
type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }
func (ResourcePolicyArrayOutput) ElementType ¶ added in v6.29.0
func (ResourcePolicyArrayOutput) ElementType() reflect.Type
func (ResourcePolicyArrayOutput) Index ¶ added in v6.29.0
func (o ResourcePolicyArrayOutput) Index(i pulumi.IntInput) ResourcePolicyOutput
func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput ¶ added in v6.29.0
func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext ¶ added in v6.29.0
func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput
type ResourcePolicyInput ¶ added in v6.29.0
type ResourcePolicyInput interface { pulumi.Input ToResourcePolicyOutput() ResourcePolicyOutput ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput }
type ResourcePolicyMap ¶ added in v6.29.0
type ResourcePolicyMap map[string]ResourcePolicyInput
func (ResourcePolicyMap) ElementType ¶ added in v6.29.0
func (ResourcePolicyMap) ElementType() reflect.Type
func (ResourcePolicyMap) ToResourcePolicyMapOutput ¶ added in v6.29.0
func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput
func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext ¶ added in v6.29.0
func (i ResourcePolicyMap) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput
type ResourcePolicyMapInput ¶ added in v6.29.0
type ResourcePolicyMapInput interface { pulumi.Input ToResourcePolicyMapOutput() ResourcePolicyMapOutput ToResourcePolicyMapOutputWithContext(context.Context) ResourcePolicyMapOutput }
ResourcePolicyMapInput is an input type that accepts ResourcePolicyMap and ResourcePolicyMapOutput values. You can construct a concrete instance of `ResourcePolicyMapInput` via:
ResourcePolicyMap{ "key": ResourcePolicyArgs{...} }
type ResourcePolicyMapOutput ¶ added in v6.29.0
type ResourcePolicyMapOutput struct{ *pulumi.OutputState }
func (ResourcePolicyMapOutput) ElementType ¶ added in v6.29.0
func (ResourcePolicyMapOutput) ElementType() reflect.Type
func (ResourcePolicyMapOutput) MapIndex ¶ added in v6.29.0
func (o ResourcePolicyMapOutput) MapIndex(k pulumi.StringInput) ResourcePolicyOutput
func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput ¶ added in v6.29.0
func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput
func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext ¶ added in v6.29.0
func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput
type ResourcePolicyOutput ¶ added in v6.29.0
type ResourcePolicyOutput struct{ *pulumi.OutputState }
func (ResourcePolicyOutput) ConfirmRemoveSelfResourceAccess ¶ added in v6.29.0
func (o ResourcePolicyOutput) ConfirmRemoveSelfResourceAccess() pulumi.BoolOutput
Set this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future.
func (ResourcePolicyOutput) ElementType ¶ added in v6.29.0
func (ResourcePolicyOutput) ElementType() reflect.Type
func (ResourcePolicyOutput) Policy ¶ added in v6.29.0
func (o ResourcePolicyOutput) Policy() pulumi.StringOutput
n Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.
The following arguments are optional:
func (ResourcePolicyOutput) ResourceArn ¶ added in v6.29.0
func (o ResourcePolicyOutput) ResourceArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. The resources you can specify include tables and streams. You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the Resource field of a given Statement in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple Statement fields in your policy document.
func (ResourcePolicyOutput) RevisionId ¶ added in v6.29.0
func (o ResourcePolicyOutput) RevisionId() pulumi.StringOutput
A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
func (ResourcePolicyOutput) ToResourcePolicyOutput ¶ added in v6.29.0
func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput
func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext ¶ added in v6.29.0
func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
type ResourcePolicyState ¶ added in v6.29.0
type ResourcePolicyState struct { // Set this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future. ConfirmRemoveSelfResourceAccess pulumi.BoolPtrInput // n Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations. // // The following arguments are optional: Policy pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. The resources you can specify include tables and streams. You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the Resource field of a given Statement in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple Statement fields in your policy document. ResourceArn pulumi.StringPtrInput // A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic. RevisionId pulumi.StringPtrInput }
func (ResourcePolicyState) ElementType ¶ added in v6.29.0
func (ResourcePolicyState) ElementType() reflect.Type
type Table ¶
type Table struct { pulumi.CustomResourceState // ARN of the table Arn pulumi.StringOutput `pulumi:"arn"` // Set of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. See below. Attributes TableAttributeArrayOutput `pulumi:"attributes"` // Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`. BillingMode pulumi.StringPtrOutput `pulumi:"billingMode"` // Enables deletion protection for table. Defaults to `false`. DeletionProtectionEnabled pulumi.BoolPtrOutput `pulumi:"deletionProtectionEnabled"` // Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc. See below. GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayOutput `pulumi:"globalSecondaryIndexes"` // Attribute to use as the hash (partition) key. Must also be defined as an `attribute`. See below. HashKey pulumi.StringOutput `pulumi:"hashKey"` // Import Amazon S3 data into a new table. See below. ImportTable TableImportTablePtrOutput `pulumi:"importTable"` // Describe an LSI on the table; these can only be allocated _at creation_ so you cannot change this definition after you have created the resource. See below. LocalSecondaryIndexes TableLocalSecondaryIndexArrayOutput `pulumi:"localSecondaryIndexes"` // Unique within a region name of the table. // // Optional arguments: Name pulumi.StringOutput `pulumi:"name"` // Enable point-in-time recovery options. See below. PointInTimeRecovery TablePointInTimeRecoveryOutput `pulumi:"pointInTimeRecovery"` // Attribute to use as the range (sort) key. Must also be defined as an `attribute`, see below. RangeKey pulumi.StringPtrOutput `pulumi:"rangeKey"` // Number of read units for this table. If the `billingMode` is `PROVISIONED`, this field is required. ReadCapacity pulumi.IntOutput `pulumi:"readCapacity"` // Configuration block(s) with [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) replication configurations. See below. Replicas TableReplicaTypeArrayOutput `pulumi:"replicas"` // Time of the point-in-time recovery point to restore. RestoreDateTime pulumi.StringPtrOutput `pulumi:"restoreDateTime"` // Name of the table to restore. Must match the name of an existing table. RestoreSourceName pulumi.StringPtrOutput `pulumi:"restoreSourceName"` // If set, restores table to the most recent point-in-time recovery point. RestoreToLatestTime pulumi.BoolPtrOutput `pulumi:"restoreToLatestTime"` // Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS-owned Customer Master Key if this argument isn't specified. See below. ServerSideEncryption TableServerSideEncryptionOutput `pulumi:"serverSideEncryption"` // ARN of the Table Stream. Only available when `streamEnabled = true` StreamArn pulumi.StringOutput `pulumi:"streamArn"` // Whether Streams are enabled. StreamEnabled pulumi.BoolPtrOutput `pulumi:"streamEnabled"` // Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`. StreamLabel pulumi.StringOutput `pulumi:"streamLabel"` // When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`. StreamViewType pulumi.StringOutput `pulumi:"streamViewType"` // Storage class of the table. // Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. // Default value is `STANDARD`. TableClass pulumi.StringPtrOutput `pulumi:"tableClass"` // A map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Configuration block for TTL. See below. Ttl TableTtlOutput `pulumi:"ttl"` // Number of write units for this table. If the `billingMode` is `PROVISIONED`, this field is required. WriteCapacity pulumi.IntOutput `pulumi:"writeCapacity"` }
Provides a DynamoDB table resource.
> **Note:** It is recommended to use [`ignoreChanges`](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) for `readCapacity` and/or `writeCapacity` if there's `autoscaling policy` attached to the table.
> **Note:** When using dynamodb.TableReplica with this resource, use `lifecycle` `ignoreChanges` for `replica`, _e.g._, `lifecycle { ignoreChanges = [replica] }`.
## DynamoDB Table attributes
Only define attributes on the table object that are going to be used as:
* Table hash key or range key * LSI or GSI hash key or range key
The DynamoDB API expects attribute structure (name and type) to be passed along when creating or updating GSI/LSIs or creating the initial table. In these cases it expects the Hash / Range keys to be provided. Because these get re-used in numerous places (i.e the table's range key could be a part of one or more GSIs), they are stored on the table object to prevent duplication and increase consistency. If you add attributes here that are not used in these scenarios it can cause an infinite loop in planning.
## Example Usage
### Basic Example
The following dynamodb table description models the table and GSI shown in the [AWS SDK example documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.NewTable(ctx, "basic-dynamodb-table", &dynamodb.TableArgs{ Name: pulumi.String("GameScores"), BillingMode: pulumi.String("PROVISIONED"), ReadCapacity: pulumi.Int(20), WriteCapacity: pulumi.Int(20), HashKey: pulumi.String("UserId"), RangeKey: pulumi.String("GameTitle"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("UserId"), Type: pulumi.String("S"), }, &dynamodb.TableAttributeArgs{ Name: pulumi.String("GameTitle"), Type: pulumi.String("S"), }, &dynamodb.TableAttributeArgs{ Name: pulumi.String("TopScore"), Type: pulumi.String("N"), }, }, Ttl: &dynamodb.TableTtlArgs{ AttributeName: pulumi.String("TimeToExist"), Enabled: pulumi.Bool(false), }, GlobalSecondaryIndexes: dynamodb.TableGlobalSecondaryIndexArray{ &dynamodb.TableGlobalSecondaryIndexArgs{ Name: pulumi.String("GameTitleIndex"), HashKey: pulumi.String("GameTitle"), RangeKey: pulumi.String("TopScore"), WriteCapacity: pulumi.Int(10), ReadCapacity: pulumi.Int(10), ProjectionType: pulumi.String("INCLUDE"), NonKeyAttributes: pulumi.StringArray{ pulumi.String("UserId"), }, }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("dynamodb-table-1"), "Environment": pulumi.String("production"), }, }) if err != nil { return err } return nil }) }
```
### Global Tables
This resource implements support for [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) via `replica` configuration blocks. For working with [DynamoDB Global Tables V1 (version 2017.11.29)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html), see the `dynamodb.GlobalTable` resource.
> **Note:** dynamodb.TableReplica is an alternate way of configuring Global Tables. Do not use `replica` configuration blocks of `dynamodb.Table` together with aws_dynamodb_table_replica.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{ Name: pulumi.String("example"), HashKey: pulumi.String("TestTableHashKey"), BillingMode: pulumi.String("PAY_PER_REQUEST"), StreamEnabled: pulumi.Bool(true), StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("TestTableHashKey"), Type: pulumi.String("S"), }, }, Replicas: dynamodb.TableReplicaTypeArray{ &dynamodb.TableReplicaTypeArgs{ RegionName: pulumi.String("us-east-2"), }, &dynamodb.TableReplicaTypeArgs{ RegionName: pulumi.String("us-west-2"), }, }, }) if err != nil { return err } return nil }) }
```
### Replica Tagging
You can manage global table replicas' tags in various ways. This example shows using `replica.*.propagate_tags` for the first replica and the `dynamodb.Tag` resource for the other.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := aws.GetRegion(ctx, nil, nil) if err != nil { return err } alternate, err := aws.GetRegion(ctx, nil, nil) if err != nil { return err } third, err := aws.GetRegion(ctx, nil, nil) if err != nil { return err } example, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{ BillingMode: pulumi.String("PAY_PER_REQUEST"), HashKey: pulumi.String("TestTableHashKey"), Name: pulumi.String("example-13281"), StreamEnabled: pulumi.Bool(true), StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("TestTableHashKey"), Type: pulumi.String("S"), }, }, Replicas: dynamodb.TableReplicaTypeArray{ &dynamodb.TableReplicaTypeArgs{ RegionName: pulumi.String(alternate.Name), }, &dynamodb.TableReplicaTypeArgs{ RegionName: pulumi.String(third.Name), PropagateTags: pulumi.Bool(true), }, }, Tags: pulumi.StringMap{ "Architect": pulumi.String("Eleanor"), "Zone": pulumi.String("SW"), }, }) if err != nil { return err } _, err = dynamodb.NewTag(ctx, "example", &dynamodb.TagArgs{ ResourceArn: example.Arn.ApplyT(func(arn string) (std.ReplaceResult, error) { return std.ReplaceOutput(ctx, std.ReplaceOutputArgs{ Text: arn, Search: current.Name, Replace: alternate.Name, }, nil), nil }).(std.ReplaceResultOutput).ApplyT(func(invoke std.ReplaceResult) (*string, error) { return invoke.Result, nil }).(pulumi.StringPtrOutput), Key: pulumi.String("Architect"), Value: pulumi.String("Gigi"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DynamoDB tables using the `name`. For example:
```sh $ pulumi import aws:dynamodb/table:Table basic-dynamodb-table GameScores ```
func GetTable ¶
func GetTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)
GetTable gets an existing Table resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTable ¶
func NewTable(ctx *pulumi.Context, name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)
NewTable registers a new resource with the given unique name, arguments, and options.
func (*Table) ElementType ¶
func (*Table) ToTableOutput ¶
func (i *Table) ToTableOutput() TableOutput
func (*Table) ToTableOutputWithContext ¶
func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput
type TableArgs ¶
type TableArgs struct { // Set of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. See below. Attributes TableAttributeArrayInput // Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`. BillingMode pulumi.StringPtrInput // Enables deletion protection for table. Defaults to `false`. DeletionProtectionEnabled pulumi.BoolPtrInput // Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc. See below. GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayInput // Attribute to use as the hash (partition) key. Must also be defined as an `attribute`. See below. HashKey pulumi.StringPtrInput // Import Amazon S3 data into a new table. See below. ImportTable TableImportTablePtrInput // Describe an LSI on the table; these can only be allocated _at creation_ so you cannot change this definition after you have created the resource. See below. LocalSecondaryIndexes TableLocalSecondaryIndexArrayInput // Unique within a region name of the table. // // Optional arguments: Name pulumi.StringPtrInput // Enable point-in-time recovery options. See below. PointInTimeRecovery TablePointInTimeRecoveryPtrInput // Attribute to use as the range (sort) key. Must also be defined as an `attribute`, see below. RangeKey pulumi.StringPtrInput // Number of read units for this table. If the `billingMode` is `PROVISIONED`, this field is required. ReadCapacity pulumi.IntPtrInput // Configuration block(s) with [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) replication configurations. See below. Replicas TableReplicaTypeArrayInput // Time of the point-in-time recovery point to restore. RestoreDateTime pulumi.StringPtrInput // Name of the table to restore. Must match the name of an existing table. RestoreSourceName pulumi.StringPtrInput // If set, restores table to the most recent point-in-time recovery point. RestoreToLatestTime pulumi.BoolPtrInput // Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS-owned Customer Master Key if this argument isn't specified. See below. ServerSideEncryption TableServerSideEncryptionPtrInput // Whether Streams are enabled. StreamEnabled pulumi.BoolPtrInput // When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`. StreamViewType pulumi.StringPtrInput // Storage class of the table. // Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. // Default value is `STANDARD`. TableClass pulumi.StringPtrInput // A map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Configuration block for TTL. See below. Ttl TableTtlPtrInput // Number of write units for this table. If the `billingMode` is `PROVISIONED`, this field is required. WriteCapacity pulumi.IntPtrInput }
The set of arguments for constructing a Table resource.
func (TableArgs) ElementType ¶
type TableArray ¶
type TableArray []TableInput
func (TableArray) ElementType ¶
func (TableArray) ElementType() reflect.Type
func (TableArray) ToTableArrayOutput ¶
func (i TableArray) ToTableArrayOutput() TableArrayOutput
func (TableArray) ToTableArrayOutputWithContext ¶
func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput
type TableArrayInput ¶
type TableArrayInput interface { pulumi.Input ToTableArrayOutput() TableArrayOutput ToTableArrayOutputWithContext(context.Context) TableArrayOutput }
TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:
TableArray{ TableArgs{...} }
type TableArrayOutput ¶
type TableArrayOutput struct{ *pulumi.OutputState }
func (TableArrayOutput) ElementType ¶
func (TableArrayOutput) ElementType() reflect.Type
func (TableArrayOutput) Index ¶
func (o TableArrayOutput) Index(i pulumi.IntInput) TableOutput
func (TableArrayOutput) ToTableArrayOutput ¶
func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput
func (TableArrayOutput) ToTableArrayOutputWithContext ¶
func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput
type TableAttribute ¶
type TableAttributeArgs ¶
type TableAttributeArgs struct { // Name of the attribute Name pulumi.StringInput `pulumi:"name"` // Attribute type. Valid values are `S` (string), `N` (number), `B` (binary). Type pulumi.StringInput `pulumi:"type"` }
func (TableAttributeArgs) ElementType ¶
func (TableAttributeArgs) ElementType() reflect.Type
func (TableAttributeArgs) ToTableAttributeOutput ¶
func (i TableAttributeArgs) ToTableAttributeOutput() TableAttributeOutput
func (TableAttributeArgs) ToTableAttributeOutputWithContext ¶
func (i TableAttributeArgs) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput
type TableAttributeArray ¶
type TableAttributeArray []TableAttributeInput
func (TableAttributeArray) ElementType ¶
func (TableAttributeArray) ElementType() reflect.Type
func (TableAttributeArray) ToTableAttributeArrayOutput ¶
func (i TableAttributeArray) ToTableAttributeArrayOutput() TableAttributeArrayOutput
func (TableAttributeArray) ToTableAttributeArrayOutputWithContext ¶
func (i TableAttributeArray) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput
type TableAttributeArrayInput ¶
type TableAttributeArrayInput interface { pulumi.Input ToTableAttributeArrayOutput() TableAttributeArrayOutput ToTableAttributeArrayOutputWithContext(context.Context) TableAttributeArrayOutput }
TableAttributeArrayInput is an input type that accepts TableAttributeArray and TableAttributeArrayOutput values. You can construct a concrete instance of `TableAttributeArrayInput` via:
TableAttributeArray{ TableAttributeArgs{...} }
type TableAttributeArrayOutput ¶
type TableAttributeArrayOutput struct{ *pulumi.OutputState }
func (TableAttributeArrayOutput) ElementType ¶
func (TableAttributeArrayOutput) ElementType() reflect.Type
func (TableAttributeArrayOutput) Index ¶
func (o TableAttributeArrayOutput) Index(i pulumi.IntInput) TableAttributeOutput
func (TableAttributeArrayOutput) ToTableAttributeArrayOutput ¶
func (o TableAttributeArrayOutput) ToTableAttributeArrayOutput() TableAttributeArrayOutput
func (TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext ¶
func (o TableAttributeArrayOutput) ToTableAttributeArrayOutputWithContext(ctx context.Context) TableAttributeArrayOutput
type TableAttributeInput ¶
type TableAttributeInput interface { pulumi.Input ToTableAttributeOutput() TableAttributeOutput ToTableAttributeOutputWithContext(context.Context) TableAttributeOutput }
TableAttributeInput is an input type that accepts TableAttributeArgs and TableAttributeOutput values. You can construct a concrete instance of `TableAttributeInput` via:
TableAttributeArgs{...}
type TableAttributeOutput ¶
type TableAttributeOutput struct{ *pulumi.OutputState }
func (TableAttributeOutput) ElementType ¶
func (TableAttributeOutput) ElementType() reflect.Type
func (TableAttributeOutput) Name ¶
func (o TableAttributeOutput) Name() pulumi.StringOutput
Name of the attribute
func (TableAttributeOutput) ToTableAttributeOutput ¶
func (o TableAttributeOutput) ToTableAttributeOutput() TableAttributeOutput
func (TableAttributeOutput) ToTableAttributeOutputWithContext ¶
func (o TableAttributeOutput) ToTableAttributeOutputWithContext(ctx context.Context) TableAttributeOutput
func (TableAttributeOutput) Type ¶
func (o TableAttributeOutput) Type() pulumi.StringOutput
Attribute type. Valid values are `S` (string), `N` (number), `B` (binary).
type TableExport ¶ added in v6.28.1
type TableExport struct { pulumi.CustomResourceState // ARN of the Table Export. Arn pulumi.StringOutput `pulumi:"arn"` // Billable size of the table export. BilledSizeInBytes pulumi.IntOutput `pulumi:"billedSizeInBytes"` // Time at which the export task completed. EndTime pulumi.StringOutput `pulumi:"endTime"` // Format for the exported data. Valid values are `DYNAMODB_JSON` or `ION`. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html#S3DataExport.Output_Data) for more information on these export formats. Default is `DYNAMODB_JSON`. ExportFormat pulumi.StringPtrOutput `pulumi:"exportFormat"` // Status of the export - export can be in one of the following states `IN_PROGRESS`, `COMPLETED`, or `FAILED`. ExportStatus pulumi.StringOutput `pulumi:"exportStatus"` // Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time. ExportTime pulumi.StringOutput `pulumi:"exportTime"` // Number of items exported. ItemCount pulumi.IntOutput `pulumi:"itemCount"` // Name of the manifest file for the export task. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html#S3DataExport.Output_Manifest) for more information on this manifest file. ManifestFilesS3Key pulumi.StringOutput `pulumi:"manifestFilesS3Key"` // Name of the Amazon S3 bucket to export the snapshot to. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport_Requesting.html#S3DataExport_Requesting_Permissions) for information on how configure this S3 bucket. S3Bucket pulumi.StringOutput `pulumi:"s3Bucket"` // ID of the AWS account that owns the bucket the export will be stored in. S3BucketOwner pulumi.StringOutput `pulumi:"s3BucketOwner"` // Amazon S3 bucket prefix to use as the file name and path of the exported snapshot. S3Prefix pulumi.StringOutput `pulumi:"s3Prefix"` // Type of encryption used on the bucket where export data will be stored. Valid values are: `AES256`, `KMS`. S3SseAlgorithm pulumi.StringOutput `pulumi:"s3SseAlgorithm"` // ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable). S3SseKmsKeyId pulumi.StringPtrOutput `pulumi:"s3SseKmsKeyId"` // Time at which the export task began. StartTime pulumi.StringOutput `pulumi:"startTime"` // ARN associated with the table to export. // // The following arguments are optional: TableArn pulumi.StringOutput `pulumi:"tableArn"` }
## Example Usage
### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := s3.NewBucketV2(ctx, "example", &s3.BucketV2Args{ BucketPrefix: pulumi.String("example"), ForceDestroy: pulumi.Bool(true), }) if err != nil { return err } exampleTable, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{ Name: pulumi.String("example-table-1"), BillingMode: pulumi.String("PAY_PER_REQUEST"), HashKey: pulumi.String("user_id"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("user_id"), Type: pulumi.String("S"), }, }, PointInTimeRecovery: &dynamodb.TablePointInTimeRecoveryArgs{ Enabled: pulumi.Bool(true), }, }) if err != nil { return err } _, err = dynamodb.NewTableExport(ctx, "example", &dynamodb.TableExportArgs{ TableArn: exampleTable.Arn, S3Bucket: example.ID(), }) if err != nil { return err } return nil }) }
```
### Example with export time
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := dynamodb.NewTableExport(ctx, "example", &dynamodb.TableExportArgs{ ExportTime: pulumi.String("2023-04-02T11:30:13+01:00"), S3Bucket: pulumi.Any(exampleAwsS3Bucket.Id), TableArn: pulumi.Any(exampleAwsDynamodbTable.Arn), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DynamoDB table exports using the `arn`. For example:
```sh $ pulumi import aws:dynamodb/tableExport:TableExport example arn:aws:dynamodb:us-west-2:12345678911:table/my-table-1/export/01580735656614-2c2f422e ```
func GetTableExport ¶ added in v6.28.1
func GetTableExport(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableExportState, opts ...pulumi.ResourceOption) (*TableExport, error)
GetTableExport gets an existing TableExport resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTableExport ¶ added in v6.28.1
func NewTableExport(ctx *pulumi.Context, name string, args *TableExportArgs, opts ...pulumi.ResourceOption) (*TableExport, error)
NewTableExport registers a new resource with the given unique name, arguments, and options.
func (*TableExport) ElementType ¶ added in v6.28.1
func (*TableExport) ElementType() reflect.Type
func (*TableExport) ToTableExportOutput ¶ added in v6.28.1
func (i *TableExport) ToTableExportOutput() TableExportOutput
func (*TableExport) ToTableExportOutputWithContext ¶ added in v6.28.1
func (i *TableExport) ToTableExportOutputWithContext(ctx context.Context) TableExportOutput
type TableExportArgs ¶ added in v6.28.1
type TableExportArgs struct { // Format for the exported data. Valid values are `DYNAMODB_JSON` or `ION`. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html#S3DataExport.Output_Data) for more information on these export formats. Default is `DYNAMODB_JSON`. ExportFormat pulumi.StringPtrInput // Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time. ExportTime pulumi.StringPtrInput // Name of the Amazon S3 bucket to export the snapshot to. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport_Requesting.html#S3DataExport_Requesting_Permissions) for information on how configure this S3 bucket. S3Bucket pulumi.StringInput // ID of the AWS account that owns the bucket the export will be stored in. S3BucketOwner pulumi.StringPtrInput // Amazon S3 bucket prefix to use as the file name and path of the exported snapshot. S3Prefix pulumi.StringPtrInput // Type of encryption used on the bucket where export data will be stored. Valid values are: `AES256`, `KMS`. S3SseAlgorithm pulumi.StringPtrInput // ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable). S3SseKmsKeyId pulumi.StringPtrInput // ARN associated with the table to export. // // The following arguments are optional: TableArn pulumi.StringInput }
The set of arguments for constructing a TableExport resource.
func (TableExportArgs) ElementType ¶ added in v6.28.1
func (TableExportArgs) ElementType() reflect.Type
type TableExportArray ¶ added in v6.28.1
type TableExportArray []TableExportInput
func (TableExportArray) ElementType ¶ added in v6.28.1
func (TableExportArray) ElementType() reflect.Type
func (TableExportArray) ToTableExportArrayOutput ¶ added in v6.28.1
func (i TableExportArray) ToTableExportArrayOutput() TableExportArrayOutput
func (TableExportArray) ToTableExportArrayOutputWithContext ¶ added in v6.28.1
func (i TableExportArray) ToTableExportArrayOutputWithContext(ctx context.Context) TableExportArrayOutput
type TableExportArrayInput ¶ added in v6.28.1
type TableExportArrayInput interface { pulumi.Input ToTableExportArrayOutput() TableExportArrayOutput ToTableExportArrayOutputWithContext(context.Context) TableExportArrayOutput }
TableExportArrayInput is an input type that accepts TableExportArray and TableExportArrayOutput values. You can construct a concrete instance of `TableExportArrayInput` via:
TableExportArray{ TableExportArgs{...} }
type TableExportArrayOutput ¶ added in v6.28.1
type TableExportArrayOutput struct{ *pulumi.OutputState }
func (TableExportArrayOutput) ElementType ¶ added in v6.28.1
func (TableExportArrayOutput) ElementType() reflect.Type
func (TableExportArrayOutput) Index ¶ added in v6.28.1
func (o TableExportArrayOutput) Index(i pulumi.IntInput) TableExportOutput
func (TableExportArrayOutput) ToTableExportArrayOutput ¶ added in v6.28.1
func (o TableExportArrayOutput) ToTableExportArrayOutput() TableExportArrayOutput
func (TableExportArrayOutput) ToTableExportArrayOutputWithContext ¶ added in v6.28.1
func (o TableExportArrayOutput) ToTableExportArrayOutputWithContext(ctx context.Context) TableExportArrayOutput
type TableExportInput ¶ added in v6.28.1
type TableExportInput interface { pulumi.Input ToTableExportOutput() TableExportOutput ToTableExportOutputWithContext(ctx context.Context) TableExportOutput }
type TableExportMap ¶ added in v6.28.1
type TableExportMap map[string]TableExportInput
func (TableExportMap) ElementType ¶ added in v6.28.1
func (TableExportMap) ElementType() reflect.Type
func (TableExportMap) ToTableExportMapOutput ¶ added in v6.28.1
func (i TableExportMap) ToTableExportMapOutput() TableExportMapOutput
func (TableExportMap) ToTableExportMapOutputWithContext ¶ added in v6.28.1
func (i TableExportMap) ToTableExportMapOutputWithContext(ctx context.Context) TableExportMapOutput
type TableExportMapInput ¶ added in v6.28.1
type TableExportMapInput interface { pulumi.Input ToTableExportMapOutput() TableExportMapOutput ToTableExportMapOutputWithContext(context.Context) TableExportMapOutput }
TableExportMapInput is an input type that accepts TableExportMap and TableExportMapOutput values. You can construct a concrete instance of `TableExportMapInput` via:
TableExportMap{ "key": TableExportArgs{...} }
type TableExportMapOutput ¶ added in v6.28.1
type TableExportMapOutput struct{ *pulumi.OutputState }
func (TableExportMapOutput) ElementType ¶ added in v6.28.1
func (TableExportMapOutput) ElementType() reflect.Type
func (TableExportMapOutput) MapIndex ¶ added in v6.28.1
func (o TableExportMapOutput) MapIndex(k pulumi.StringInput) TableExportOutput
func (TableExportMapOutput) ToTableExportMapOutput ¶ added in v6.28.1
func (o TableExportMapOutput) ToTableExportMapOutput() TableExportMapOutput
func (TableExportMapOutput) ToTableExportMapOutputWithContext ¶ added in v6.28.1
func (o TableExportMapOutput) ToTableExportMapOutputWithContext(ctx context.Context) TableExportMapOutput
type TableExportOutput ¶ added in v6.28.1
type TableExportOutput struct{ *pulumi.OutputState }
func (TableExportOutput) Arn ¶ added in v6.28.1
func (o TableExportOutput) Arn() pulumi.StringOutput
ARN of the Table Export.
func (TableExportOutput) BilledSizeInBytes ¶ added in v6.28.1
func (o TableExportOutput) BilledSizeInBytes() pulumi.IntOutput
Billable size of the table export.
func (TableExportOutput) ElementType ¶ added in v6.28.1
func (TableExportOutput) ElementType() reflect.Type
func (TableExportOutput) EndTime ¶ added in v6.28.1
func (o TableExportOutput) EndTime() pulumi.StringOutput
Time at which the export task completed.
func (TableExportOutput) ExportFormat ¶ added in v6.28.1
func (o TableExportOutput) ExportFormat() pulumi.StringPtrOutput
Format for the exported data. Valid values are `DYNAMODB_JSON` or `ION`. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html#S3DataExport.Output_Data) for more information on these export formats. Default is `DYNAMODB_JSON`.
func (TableExportOutput) ExportStatus ¶ added in v6.28.1
func (o TableExportOutput) ExportStatus() pulumi.StringOutput
Status of the export - export can be in one of the following states `IN_PROGRESS`, `COMPLETED`, or `FAILED`.
func (TableExportOutput) ExportTime ¶ added in v6.28.1
func (o TableExportOutput) ExportTime() pulumi.StringOutput
Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time.
func (TableExportOutput) ItemCount ¶ added in v6.28.1
func (o TableExportOutput) ItemCount() pulumi.IntOutput
Number of items exported.
func (TableExportOutput) ManifestFilesS3Key ¶ added in v6.28.1
func (o TableExportOutput) ManifestFilesS3Key() pulumi.StringOutput
Name of the manifest file for the export task. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html#S3DataExport.Output_Manifest) for more information on this manifest file.
func (TableExportOutput) S3Bucket ¶ added in v6.28.1
func (o TableExportOutput) S3Bucket() pulumi.StringOutput
Name of the Amazon S3 bucket to export the snapshot to. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport_Requesting.html#S3DataExport_Requesting_Permissions) for information on how configure this S3 bucket.
func (TableExportOutput) S3BucketOwner ¶ added in v6.28.1
func (o TableExportOutput) S3BucketOwner() pulumi.StringOutput
ID of the AWS account that owns the bucket the export will be stored in.
func (TableExportOutput) S3Prefix ¶ added in v6.28.1
func (o TableExportOutput) S3Prefix() pulumi.StringOutput
Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
func (TableExportOutput) S3SseAlgorithm ¶ added in v6.28.1
func (o TableExportOutput) S3SseAlgorithm() pulumi.StringOutput
Type of encryption used on the bucket where export data will be stored. Valid values are: `AES256`, `KMS`.
func (TableExportOutput) S3SseKmsKeyId ¶ added in v6.28.1
func (o TableExportOutput) S3SseKmsKeyId() pulumi.StringPtrOutput
ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable).
func (TableExportOutput) StartTime ¶ added in v6.28.1
func (o TableExportOutput) StartTime() pulumi.StringOutput
Time at which the export task began.
func (TableExportOutput) TableArn ¶ added in v6.28.1
func (o TableExportOutput) TableArn() pulumi.StringOutput
ARN associated with the table to export.
The following arguments are optional:
func (TableExportOutput) ToTableExportOutput ¶ added in v6.28.1
func (o TableExportOutput) ToTableExportOutput() TableExportOutput
func (TableExportOutput) ToTableExportOutputWithContext ¶ added in v6.28.1
func (o TableExportOutput) ToTableExportOutputWithContext(ctx context.Context) TableExportOutput
type TableExportState ¶ added in v6.28.1
type TableExportState struct { // ARN of the Table Export. Arn pulumi.StringPtrInput // Billable size of the table export. BilledSizeInBytes pulumi.IntPtrInput // Time at which the export task completed. EndTime pulumi.StringPtrInput // Format for the exported data. Valid values are `DYNAMODB_JSON` or `ION`. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html#S3DataExport.Output_Data) for more information on these export formats. Default is `DYNAMODB_JSON`. ExportFormat pulumi.StringPtrInput // Status of the export - export can be in one of the following states `IN_PROGRESS`, `COMPLETED`, or `FAILED`. ExportStatus pulumi.StringPtrInput // Time in RFC3339 format from which to export table data. The table export will be a snapshot of the table's state at this point in time. Omitting this value will result in a snapshot from the current time. ExportTime pulumi.StringPtrInput // Number of items exported. ItemCount pulumi.IntPtrInput // Name of the manifest file for the export task. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html#S3DataExport.Output_Manifest) for more information on this manifest file. ManifestFilesS3Key pulumi.StringPtrInput // Name of the Amazon S3 bucket to export the snapshot to. See the [AWS Documentation](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport_Requesting.html#S3DataExport_Requesting_Permissions) for information on how configure this S3 bucket. S3Bucket pulumi.StringPtrInput // ID of the AWS account that owns the bucket the export will be stored in. S3BucketOwner pulumi.StringPtrInput // Amazon S3 bucket prefix to use as the file name and path of the exported snapshot. S3Prefix pulumi.StringPtrInput // Type of encryption used on the bucket where export data will be stored. Valid values are: `AES256`, `KMS`. S3SseAlgorithm pulumi.StringPtrInput // ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will be stored (if applicable). S3SseKmsKeyId pulumi.StringPtrInput // Time at which the export task began. StartTime pulumi.StringPtrInput // ARN associated with the table to export. // // The following arguments are optional: TableArn pulumi.StringPtrInput }
func (TableExportState) ElementType ¶ added in v6.28.1
func (TableExportState) ElementType() reflect.Type
type TableGlobalSecondaryIndex ¶
type TableGlobalSecondaryIndex struct { // Name of the hash key in the index; must be defined as an attribute in the resource. HashKey string `pulumi:"hashKey"` // Name of the index. Name string `pulumi:"name"` // Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table. NonKeyAttributes []string `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project. ProjectionType string `pulumi:"projectionType"` // Name of the range key; must be defined RangeKey *string `pulumi:"rangeKey"` // Number of read units for this index. Must be set if billingMode is set to PROVISIONED. ReadCapacity *int `pulumi:"readCapacity"` // Number of write units for this index. Must be set if billingMode is set to PROVISIONED. WriteCapacity *int `pulumi:"writeCapacity"` }
type TableGlobalSecondaryIndexArgs ¶
type TableGlobalSecondaryIndexArgs struct { // Name of the hash key in the index; must be defined as an attribute in the resource. HashKey pulumi.StringInput `pulumi:"hashKey"` // Name of the index. Name pulumi.StringInput `pulumi:"name"` // Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table. NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project. ProjectionType pulumi.StringInput `pulumi:"projectionType"` // Name of the range key; must be defined RangeKey pulumi.StringPtrInput `pulumi:"rangeKey"` // Number of read units for this index. Must be set if billingMode is set to PROVISIONED. ReadCapacity pulumi.IntPtrInput `pulumi:"readCapacity"` // Number of write units for this index. Must be set if billingMode is set to PROVISIONED. WriteCapacity pulumi.IntPtrInput `pulumi:"writeCapacity"` }
func (TableGlobalSecondaryIndexArgs) ElementType ¶
func (TableGlobalSecondaryIndexArgs) ElementType() reflect.Type
func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput ¶
func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext ¶
func (i TableGlobalSecondaryIndexArgs) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
type TableGlobalSecondaryIndexArray ¶
type TableGlobalSecondaryIndexArray []TableGlobalSecondaryIndexInput
func (TableGlobalSecondaryIndexArray) ElementType ¶
func (TableGlobalSecondaryIndexArray) ElementType() reflect.Type
func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput ¶
func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
func (TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (i TableGlobalSecondaryIndexArray) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
type TableGlobalSecondaryIndexArrayInput ¶
type TableGlobalSecondaryIndexArrayInput interface { pulumi.Input ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput ToTableGlobalSecondaryIndexArrayOutputWithContext(context.Context) TableGlobalSecondaryIndexArrayOutput }
TableGlobalSecondaryIndexArrayInput is an input type that accepts TableGlobalSecondaryIndexArray and TableGlobalSecondaryIndexArrayOutput values. You can construct a concrete instance of `TableGlobalSecondaryIndexArrayInput` via:
TableGlobalSecondaryIndexArray{ TableGlobalSecondaryIndexArgs{...} }
type TableGlobalSecondaryIndexArrayOutput ¶
type TableGlobalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (TableGlobalSecondaryIndexArrayOutput) ElementType ¶
func (TableGlobalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (TableGlobalSecondaryIndexArrayOutput) Index ¶
func (o TableGlobalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput ¶
func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutput() TableGlobalSecondaryIndexArrayOutput
func (TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext ¶
func (o TableGlobalSecondaryIndexArrayOutput) ToTableGlobalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexArrayOutput
type TableGlobalSecondaryIndexInput ¶
type TableGlobalSecondaryIndexInput interface { pulumi.Input ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput ToTableGlobalSecondaryIndexOutputWithContext(context.Context) TableGlobalSecondaryIndexOutput }
TableGlobalSecondaryIndexInput is an input type that accepts TableGlobalSecondaryIndexArgs and TableGlobalSecondaryIndexOutput values. You can construct a concrete instance of `TableGlobalSecondaryIndexInput` via:
TableGlobalSecondaryIndexArgs{...}
type TableGlobalSecondaryIndexOutput ¶
type TableGlobalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (TableGlobalSecondaryIndexOutput) ElementType ¶
func (TableGlobalSecondaryIndexOutput) ElementType() reflect.Type
func (TableGlobalSecondaryIndexOutput) HashKey ¶
func (o TableGlobalSecondaryIndexOutput) HashKey() pulumi.StringOutput
Name of the hash key in the index; must be defined as an attribute in the resource.
func (TableGlobalSecondaryIndexOutput) Name ¶
func (o TableGlobalSecondaryIndexOutput) Name() pulumi.StringOutput
Name of the index.
func (TableGlobalSecondaryIndexOutput) NonKeyAttributes ¶
func (o TableGlobalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
func (TableGlobalSecondaryIndexOutput) ProjectionType ¶
func (o TableGlobalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project.
func (TableGlobalSecondaryIndexOutput) RangeKey ¶
func (o TableGlobalSecondaryIndexOutput) RangeKey() pulumi.StringPtrOutput
Name of the range key; must be defined
func (TableGlobalSecondaryIndexOutput) ReadCapacity ¶
func (o TableGlobalSecondaryIndexOutput) ReadCapacity() pulumi.IntPtrOutput
Number of read units for this index. Must be set if billingMode is set to PROVISIONED.
func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput ¶
func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutput() TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext ¶
func (o TableGlobalSecondaryIndexOutput) ToTableGlobalSecondaryIndexOutputWithContext(ctx context.Context) TableGlobalSecondaryIndexOutput
func (TableGlobalSecondaryIndexOutput) WriteCapacity ¶
func (o TableGlobalSecondaryIndexOutput) WriteCapacity() pulumi.IntPtrOutput
Number of write units for this index. Must be set if billingMode is set to PROVISIONED.
type TableImportTable ¶ added in v6.6.0
type TableImportTable struct { // Type of compression to be used on the input coming from the imported table. // Valid values are `GZIP`, `ZSTD` and `NONE`. InputCompressionType *string `pulumi:"inputCompressionType"` // The format of the source data. // Valid values are `CSV`, `DYNAMODB_JSON`, and `ION`. InputFormat string `pulumi:"inputFormat"` // Describe the format options for the data that was imported into the target table. // There is one value, `csv`. // See below. InputFormatOptions *TableImportTableInputFormatOptions `pulumi:"inputFormatOptions"` // Values for the S3 bucket the source file is imported from. // See below. S3BucketSource TableImportTableS3BucketSource `pulumi:"s3BucketSource"` }
type TableImportTableArgs ¶ added in v6.6.0
type TableImportTableArgs struct { // Type of compression to be used on the input coming from the imported table. // Valid values are `GZIP`, `ZSTD` and `NONE`. InputCompressionType pulumi.StringPtrInput `pulumi:"inputCompressionType"` // The format of the source data. // Valid values are `CSV`, `DYNAMODB_JSON`, and `ION`. InputFormat pulumi.StringInput `pulumi:"inputFormat"` // Describe the format options for the data that was imported into the target table. // There is one value, `csv`. // See below. InputFormatOptions TableImportTableInputFormatOptionsPtrInput `pulumi:"inputFormatOptions"` // Values for the S3 bucket the source file is imported from. // See below. S3BucketSource TableImportTableS3BucketSourceInput `pulumi:"s3BucketSource"` }
func (TableImportTableArgs) ElementType ¶ added in v6.6.0
func (TableImportTableArgs) ElementType() reflect.Type
func (TableImportTableArgs) ToTableImportTableOutput ¶ added in v6.6.0
func (i TableImportTableArgs) ToTableImportTableOutput() TableImportTableOutput
func (TableImportTableArgs) ToTableImportTableOutputWithContext ¶ added in v6.6.0
func (i TableImportTableArgs) ToTableImportTableOutputWithContext(ctx context.Context) TableImportTableOutput
func (TableImportTableArgs) ToTableImportTablePtrOutput ¶ added in v6.6.0
func (i TableImportTableArgs) ToTableImportTablePtrOutput() TableImportTablePtrOutput
func (TableImportTableArgs) ToTableImportTablePtrOutputWithContext ¶ added in v6.6.0
func (i TableImportTableArgs) ToTableImportTablePtrOutputWithContext(ctx context.Context) TableImportTablePtrOutput
type TableImportTableInput ¶ added in v6.6.0
type TableImportTableInput interface { pulumi.Input ToTableImportTableOutput() TableImportTableOutput ToTableImportTableOutputWithContext(context.Context) TableImportTableOutput }
TableImportTableInput is an input type that accepts TableImportTableArgs and TableImportTableOutput values. You can construct a concrete instance of `TableImportTableInput` via:
TableImportTableArgs{...}
type TableImportTableInputFormatOptions ¶ added in v6.6.0
type TableImportTableInputFormatOptions struct { // This block contains the processing options for the CSV file being imported: Csv *TableImportTableInputFormatOptionsCsv `pulumi:"csv"` }
type TableImportTableInputFormatOptionsArgs ¶ added in v6.6.0
type TableImportTableInputFormatOptionsArgs struct { // This block contains the processing options for the CSV file being imported: Csv TableImportTableInputFormatOptionsCsvPtrInput `pulumi:"csv"` }
func (TableImportTableInputFormatOptionsArgs) ElementType ¶ added in v6.6.0
func (TableImportTableInputFormatOptionsArgs) ElementType() reflect.Type
func (TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsOutput ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsOutput() TableImportTableInputFormatOptionsOutput
func (TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsOutputWithContext ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsOutput
func (TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsPtrOutput ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsPtrOutput() TableImportTableInputFormatOptionsPtrOutput
func (TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsPtrOutputWithContext ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsArgs) ToTableImportTableInputFormatOptionsPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsPtrOutput
type TableImportTableInputFormatOptionsCsv ¶ added in v6.6.0
type TableImportTableInputFormatOptionsCsv struct { // The delimiter used for separating items in the CSV file being imported. Delimiter *string `pulumi:"delimiter"` // List of the headers used to specify a common header for all source CSV files being imported. HeaderLists []string `pulumi:"headerLists"` }
type TableImportTableInputFormatOptionsCsvArgs ¶ added in v6.6.0
type TableImportTableInputFormatOptionsCsvArgs struct { // The delimiter used for separating items in the CSV file being imported. Delimiter pulumi.StringPtrInput `pulumi:"delimiter"` // List of the headers used to specify a common header for all source CSV files being imported. HeaderLists pulumi.StringArrayInput `pulumi:"headerLists"` }
func (TableImportTableInputFormatOptionsCsvArgs) ElementType ¶ added in v6.6.0
func (TableImportTableInputFormatOptionsCsvArgs) ElementType() reflect.Type
func (TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvOutput ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvOutput() TableImportTableInputFormatOptionsCsvOutput
func (TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvOutputWithContext ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvOutput
func (TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvPtrOutput ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvPtrOutput() TableImportTableInputFormatOptionsCsvPtrOutput
func (TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext ¶ added in v6.6.0
func (i TableImportTableInputFormatOptionsCsvArgs) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvPtrOutput
type TableImportTableInputFormatOptionsCsvInput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsCsvInput interface { pulumi.Input ToTableImportTableInputFormatOptionsCsvOutput() TableImportTableInputFormatOptionsCsvOutput ToTableImportTableInputFormatOptionsCsvOutputWithContext(context.Context) TableImportTableInputFormatOptionsCsvOutput }
TableImportTableInputFormatOptionsCsvInput is an input type that accepts TableImportTableInputFormatOptionsCsvArgs and TableImportTableInputFormatOptionsCsvOutput values. You can construct a concrete instance of `TableImportTableInputFormatOptionsCsvInput` via:
TableImportTableInputFormatOptionsCsvArgs{...}
type TableImportTableInputFormatOptionsCsvOutput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsCsvOutput struct{ *pulumi.OutputState }
func (TableImportTableInputFormatOptionsCsvOutput) Delimiter ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvOutput) Delimiter() pulumi.StringPtrOutput
The delimiter used for separating items in the CSV file being imported.
func (TableImportTableInputFormatOptionsCsvOutput) ElementType ¶ added in v6.6.0
func (TableImportTableInputFormatOptionsCsvOutput) ElementType() reflect.Type
func (TableImportTableInputFormatOptionsCsvOutput) HeaderLists ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvOutput) HeaderLists() pulumi.StringArrayOutput
List of the headers used to specify a common header for all source CSV files being imported.
func (TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvOutput ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvOutput() TableImportTableInputFormatOptionsCsvOutput
func (TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvOutputWithContext ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvOutput
func (TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvPtrOutput ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvPtrOutput() TableImportTableInputFormatOptionsCsvPtrOutput
func (TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvOutput) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvPtrOutput
type TableImportTableInputFormatOptionsCsvPtrInput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsCsvPtrInput interface { pulumi.Input ToTableImportTableInputFormatOptionsCsvPtrOutput() TableImportTableInputFormatOptionsCsvPtrOutput ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext(context.Context) TableImportTableInputFormatOptionsCsvPtrOutput }
TableImportTableInputFormatOptionsCsvPtrInput is an input type that accepts TableImportTableInputFormatOptionsCsvArgs, TableImportTableInputFormatOptionsCsvPtr and TableImportTableInputFormatOptionsCsvPtrOutput values. You can construct a concrete instance of `TableImportTableInputFormatOptionsCsvPtrInput` via:
TableImportTableInputFormatOptionsCsvArgs{...} or: nil
func TableImportTableInputFormatOptionsCsvPtr ¶ added in v6.6.0
func TableImportTableInputFormatOptionsCsvPtr(v *TableImportTableInputFormatOptionsCsvArgs) TableImportTableInputFormatOptionsCsvPtrInput
type TableImportTableInputFormatOptionsCsvPtrOutput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsCsvPtrOutput struct{ *pulumi.OutputState }
func (TableImportTableInputFormatOptionsCsvPtrOutput) Delimiter ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvPtrOutput) Delimiter() pulumi.StringPtrOutput
The delimiter used for separating items in the CSV file being imported.
func (TableImportTableInputFormatOptionsCsvPtrOutput) ElementType ¶ added in v6.6.0
func (TableImportTableInputFormatOptionsCsvPtrOutput) ElementType() reflect.Type
func (TableImportTableInputFormatOptionsCsvPtrOutput) HeaderLists ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvPtrOutput) HeaderLists() pulumi.StringArrayOutput
List of the headers used to specify a common header for all source CSV files being imported.
func (TableImportTableInputFormatOptionsCsvPtrOutput) ToTableImportTableInputFormatOptionsCsvPtrOutput ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvPtrOutput) ToTableImportTableInputFormatOptionsCsvPtrOutput() TableImportTableInputFormatOptionsCsvPtrOutput
func (TableImportTableInputFormatOptionsCsvPtrOutput) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsCsvPtrOutput) ToTableImportTableInputFormatOptionsCsvPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsCsvPtrOutput
type TableImportTableInputFormatOptionsInput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsInput interface { pulumi.Input ToTableImportTableInputFormatOptionsOutput() TableImportTableInputFormatOptionsOutput ToTableImportTableInputFormatOptionsOutputWithContext(context.Context) TableImportTableInputFormatOptionsOutput }
TableImportTableInputFormatOptionsInput is an input type that accepts TableImportTableInputFormatOptionsArgs and TableImportTableInputFormatOptionsOutput values. You can construct a concrete instance of `TableImportTableInputFormatOptionsInput` via:
TableImportTableInputFormatOptionsArgs{...}
type TableImportTableInputFormatOptionsOutput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsOutput struct{ *pulumi.OutputState }
func (TableImportTableInputFormatOptionsOutput) Csv ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsOutput) Csv() TableImportTableInputFormatOptionsCsvPtrOutput
This block contains the processing options for the CSV file being imported:
func (TableImportTableInputFormatOptionsOutput) ElementType ¶ added in v6.6.0
func (TableImportTableInputFormatOptionsOutput) ElementType() reflect.Type
func (TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsOutput ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsOutput() TableImportTableInputFormatOptionsOutput
func (TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsOutputWithContext ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsOutput
func (TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsPtrOutput ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsPtrOutput() TableImportTableInputFormatOptionsPtrOutput
func (TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsPtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsOutput) ToTableImportTableInputFormatOptionsPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsPtrOutput
type TableImportTableInputFormatOptionsPtrInput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsPtrInput interface { pulumi.Input ToTableImportTableInputFormatOptionsPtrOutput() TableImportTableInputFormatOptionsPtrOutput ToTableImportTableInputFormatOptionsPtrOutputWithContext(context.Context) TableImportTableInputFormatOptionsPtrOutput }
TableImportTableInputFormatOptionsPtrInput is an input type that accepts TableImportTableInputFormatOptionsArgs, TableImportTableInputFormatOptionsPtr and TableImportTableInputFormatOptionsPtrOutput values. You can construct a concrete instance of `TableImportTableInputFormatOptionsPtrInput` via:
TableImportTableInputFormatOptionsArgs{...} or: nil
func TableImportTableInputFormatOptionsPtr ¶ added in v6.6.0
func TableImportTableInputFormatOptionsPtr(v *TableImportTableInputFormatOptionsArgs) TableImportTableInputFormatOptionsPtrInput
type TableImportTableInputFormatOptionsPtrOutput ¶ added in v6.6.0
type TableImportTableInputFormatOptionsPtrOutput struct{ *pulumi.OutputState }
func (TableImportTableInputFormatOptionsPtrOutput) Csv ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsPtrOutput) Csv() TableImportTableInputFormatOptionsCsvPtrOutput
This block contains the processing options for the CSV file being imported:
func (TableImportTableInputFormatOptionsPtrOutput) ElementType ¶ added in v6.6.0
func (TableImportTableInputFormatOptionsPtrOutput) ElementType() reflect.Type
func (TableImportTableInputFormatOptionsPtrOutput) ToTableImportTableInputFormatOptionsPtrOutput ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsPtrOutput) ToTableImportTableInputFormatOptionsPtrOutput() TableImportTableInputFormatOptionsPtrOutput
func (TableImportTableInputFormatOptionsPtrOutput) ToTableImportTableInputFormatOptionsPtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTableInputFormatOptionsPtrOutput) ToTableImportTableInputFormatOptionsPtrOutputWithContext(ctx context.Context) TableImportTableInputFormatOptionsPtrOutput
type TableImportTableOutput ¶ added in v6.6.0
type TableImportTableOutput struct{ *pulumi.OutputState }
func (TableImportTableOutput) ElementType ¶ added in v6.6.0
func (TableImportTableOutput) ElementType() reflect.Type
func (TableImportTableOutput) InputCompressionType ¶ added in v6.6.0
func (o TableImportTableOutput) InputCompressionType() pulumi.StringPtrOutput
Type of compression to be used on the input coming from the imported table. Valid values are `GZIP`, `ZSTD` and `NONE`.
func (TableImportTableOutput) InputFormat ¶ added in v6.6.0
func (o TableImportTableOutput) InputFormat() pulumi.StringOutput
The format of the source data. Valid values are `CSV`, `DYNAMODB_JSON`, and `ION`.
func (TableImportTableOutput) InputFormatOptions ¶ added in v6.6.0
func (o TableImportTableOutput) InputFormatOptions() TableImportTableInputFormatOptionsPtrOutput
Describe the format options for the data that was imported into the target table. There is one value, `csv`. See below.
func (TableImportTableOutput) S3BucketSource ¶ added in v6.6.0
func (o TableImportTableOutput) S3BucketSource() TableImportTableS3BucketSourceOutput
Values for the S3 bucket the source file is imported from. See below.
func (TableImportTableOutput) ToTableImportTableOutput ¶ added in v6.6.0
func (o TableImportTableOutput) ToTableImportTableOutput() TableImportTableOutput
func (TableImportTableOutput) ToTableImportTableOutputWithContext ¶ added in v6.6.0
func (o TableImportTableOutput) ToTableImportTableOutputWithContext(ctx context.Context) TableImportTableOutput
func (TableImportTableOutput) ToTableImportTablePtrOutput ¶ added in v6.6.0
func (o TableImportTableOutput) ToTableImportTablePtrOutput() TableImportTablePtrOutput
func (TableImportTableOutput) ToTableImportTablePtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTableOutput) ToTableImportTablePtrOutputWithContext(ctx context.Context) TableImportTablePtrOutput
type TableImportTablePtrInput ¶ added in v6.6.0
type TableImportTablePtrInput interface { pulumi.Input ToTableImportTablePtrOutput() TableImportTablePtrOutput ToTableImportTablePtrOutputWithContext(context.Context) TableImportTablePtrOutput }
TableImportTablePtrInput is an input type that accepts TableImportTableArgs, TableImportTablePtr and TableImportTablePtrOutput values. You can construct a concrete instance of `TableImportTablePtrInput` via:
TableImportTableArgs{...} or: nil
func TableImportTablePtr ¶ added in v6.6.0
func TableImportTablePtr(v *TableImportTableArgs) TableImportTablePtrInput
type TableImportTablePtrOutput ¶ added in v6.6.0
type TableImportTablePtrOutput struct{ *pulumi.OutputState }
func (TableImportTablePtrOutput) Elem ¶ added in v6.6.0
func (o TableImportTablePtrOutput) Elem() TableImportTableOutput
func (TableImportTablePtrOutput) ElementType ¶ added in v6.6.0
func (TableImportTablePtrOutput) ElementType() reflect.Type
func (TableImportTablePtrOutput) InputCompressionType ¶ added in v6.6.0
func (o TableImportTablePtrOutput) InputCompressionType() pulumi.StringPtrOutput
Type of compression to be used on the input coming from the imported table. Valid values are `GZIP`, `ZSTD` and `NONE`.
func (TableImportTablePtrOutput) InputFormat ¶ added in v6.6.0
func (o TableImportTablePtrOutput) InputFormat() pulumi.StringPtrOutput
The format of the source data. Valid values are `CSV`, `DYNAMODB_JSON`, and `ION`.
func (TableImportTablePtrOutput) InputFormatOptions ¶ added in v6.6.0
func (o TableImportTablePtrOutput) InputFormatOptions() TableImportTableInputFormatOptionsPtrOutput
Describe the format options for the data that was imported into the target table. There is one value, `csv`. See below.
func (TableImportTablePtrOutput) S3BucketSource ¶ added in v6.6.0
func (o TableImportTablePtrOutput) S3BucketSource() TableImportTableS3BucketSourcePtrOutput
Values for the S3 bucket the source file is imported from. See below.
func (TableImportTablePtrOutput) ToTableImportTablePtrOutput ¶ added in v6.6.0
func (o TableImportTablePtrOutput) ToTableImportTablePtrOutput() TableImportTablePtrOutput
func (TableImportTablePtrOutput) ToTableImportTablePtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTablePtrOutput) ToTableImportTablePtrOutputWithContext(ctx context.Context) TableImportTablePtrOutput
type TableImportTableS3BucketSource ¶ added in v6.6.0
type TableImportTableS3BucketSource struct { // The S3 bucket that is being imported from. Bucket string `pulumi:"bucket"` // The account number of the S3 bucket that is being imported from. BucketOwner *string `pulumi:"bucketOwner"` // The key prefix shared by all S3 Objects that are being imported. KeyPrefix *string `pulumi:"keyPrefix"` }
type TableImportTableS3BucketSourceArgs ¶ added in v6.6.0
type TableImportTableS3BucketSourceArgs struct { // The S3 bucket that is being imported from. Bucket pulumi.StringInput `pulumi:"bucket"` // The account number of the S3 bucket that is being imported from. BucketOwner pulumi.StringPtrInput `pulumi:"bucketOwner"` // The key prefix shared by all S3 Objects that are being imported. KeyPrefix pulumi.StringPtrInput `pulumi:"keyPrefix"` }
func (TableImportTableS3BucketSourceArgs) ElementType ¶ added in v6.6.0
func (TableImportTableS3BucketSourceArgs) ElementType() reflect.Type
func (TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourceOutput ¶ added in v6.6.0
func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourceOutput() TableImportTableS3BucketSourceOutput
func (TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourceOutputWithContext ¶ added in v6.6.0
func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourceOutputWithContext(ctx context.Context) TableImportTableS3BucketSourceOutput
func (TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourcePtrOutput ¶ added in v6.6.0
func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourcePtrOutput() TableImportTableS3BucketSourcePtrOutput
func (TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourcePtrOutputWithContext ¶ added in v6.6.0
func (i TableImportTableS3BucketSourceArgs) ToTableImportTableS3BucketSourcePtrOutputWithContext(ctx context.Context) TableImportTableS3BucketSourcePtrOutput
type TableImportTableS3BucketSourceInput ¶ added in v6.6.0
type TableImportTableS3BucketSourceInput interface { pulumi.Input ToTableImportTableS3BucketSourceOutput() TableImportTableS3BucketSourceOutput ToTableImportTableS3BucketSourceOutputWithContext(context.Context) TableImportTableS3BucketSourceOutput }
TableImportTableS3BucketSourceInput is an input type that accepts TableImportTableS3BucketSourceArgs and TableImportTableS3BucketSourceOutput values. You can construct a concrete instance of `TableImportTableS3BucketSourceInput` via:
TableImportTableS3BucketSourceArgs{...}
type TableImportTableS3BucketSourceOutput ¶ added in v6.6.0
type TableImportTableS3BucketSourceOutput struct{ *pulumi.OutputState }
func (TableImportTableS3BucketSourceOutput) Bucket ¶ added in v6.6.0
func (o TableImportTableS3BucketSourceOutput) Bucket() pulumi.StringOutput
The S3 bucket that is being imported from.
func (TableImportTableS3BucketSourceOutput) BucketOwner ¶ added in v6.6.0
func (o TableImportTableS3BucketSourceOutput) BucketOwner() pulumi.StringPtrOutput
The account number of the S3 bucket that is being imported from.
func (TableImportTableS3BucketSourceOutput) ElementType ¶ added in v6.6.0
func (TableImportTableS3BucketSourceOutput) ElementType() reflect.Type
func (TableImportTableS3BucketSourceOutput) KeyPrefix ¶ added in v6.6.0
func (o TableImportTableS3BucketSourceOutput) KeyPrefix() pulumi.StringPtrOutput
The key prefix shared by all S3 Objects that are being imported.
func (TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourceOutput ¶ added in v6.6.0
func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourceOutput() TableImportTableS3BucketSourceOutput
func (TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourceOutputWithContext ¶ added in v6.6.0
func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourceOutputWithContext(ctx context.Context) TableImportTableS3BucketSourceOutput
func (TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourcePtrOutput ¶ added in v6.6.0
func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourcePtrOutput() TableImportTableS3BucketSourcePtrOutput
func (TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourcePtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTableS3BucketSourceOutput) ToTableImportTableS3BucketSourcePtrOutputWithContext(ctx context.Context) TableImportTableS3BucketSourcePtrOutput
type TableImportTableS3BucketSourcePtrInput ¶ added in v6.6.0
type TableImportTableS3BucketSourcePtrInput interface { pulumi.Input ToTableImportTableS3BucketSourcePtrOutput() TableImportTableS3BucketSourcePtrOutput ToTableImportTableS3BucketSourcePtrOutputWithContext(context.Context) TableImportTableS3BucketSourcePtrOutput }
TableImportTableS3BucketSourcePtrInput is an input type that accepts TableImportTableS3BucketSourceArgs, TableImportTableS3BucketSourcePtr and TableImportTableS3BucketSourcePtrOutput values. You can construct a concrete instance of `TableImportTableS3BucketSourcePtrInput` via:
TableImportTableS3BucketSourceArgs{...} or: nil
func TableImportTableS3BucketSourcePtr ¶ added in v6.6.0
func TableImportTableS3BucketSourcePtr(v *TableImportTableS3BucketSourceArgs) TableImportTableS3BucketSourcePtrInput
type TableImportTableS3BucketSourcePtrOutput ¶ added in v6.6.0
type TableImportTableS3BucketSourcePtrOutput struct{ *pulumi.OutputState }
func (TableImportTableS3BucketSourcePtrOutput) Bucket ¶ added in v6.6.0
func (o TableImportTableS3BucketSourcePtrOutput) Bucket() pulumi.StringPtrOutput
The S3 bucket that is being imported from.
func (TableImportTableS3BucketSourcePtrOutput) BucketOwner ¶ added in v6.6.0
func (o TableImportTableS3BucketSourcePtrOutput) BucketOwner() pulumi.StringPtrOutput
The account number of the S3 bucket that is being imported from.
func (TableImportTableS3BucketSourcePtrOutput) ElementType ¶ added in v6.6.0
func (TableImportTableS3BucketSourcePtrOutput) ElementType() reflect.Type
func (TableImportTableS3BucketSourcePtrOutput) KeyPrefix ¶ added in v6.6.0
func (o TableImportTableS3BucketSourcePtrOutput) KeyPrefix() pulumi.StringPtrOutput
The key prefix shared by all S3 Objects that are being imported.
func (TableImportTableS3BucketSourcePtrOutput) ToTableImportTableS3BucketSourcePtrOutput ¶ added in v6.6.0
func (o TableImportTableS3BucketSourcePtrOutput) ToTableImportTableS3BucketSourcePtrOutput() TableImportTableS3BucketSourcePtrOutput
func (TableImportTableS3BucketSourcePtrOutput) ToTableImportTableS3BucketSourcePtrOutputWithContext ¶ added in v6.6.0
func (o TableImportTableS3BucketSourcePtrOutput) ToTableImportTableS3BucketSourcePtrOutputWithContext(ctx context.Context) TableImportTableS3BucketSourcePtrOutput
type TableInput ¶
type TableInput interface { pulumi.Input ToTableOutput() TableOutput ToTableOutputWithContext(ctx context.Context) TableOutput }
type TableItem ¶
type TableItem struct { pulumi.CustomResourceState // Hash key to use for lookups and identification of the item HashKey pulumi.StringOutput `pulumi:"hashKey"` // JSON representation of a map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. Item pulumi.StringOutput `pulumi:"item"` // Range key to use for lookups and identification of the item. Required if there is range key defined in the table. RangeKey pulumi.StringPtrOutput `pulumi:"rangeKey"` // Name of the table to contain the item. TableName pulumi.StringOutput `pulumi:"tableName"` }
Provides a DynamoDB table item resource
> **Note:** This resource is not meant to be used for managing large amounts of data in your table, it is not designed to scale.
You should perform **regular backups** of all data in the table, see [AWS docs for more](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BackupRestore.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleTable, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{ Name: pulumi.String("example-name"), ReadCapacity: pulumi.Int(10), WriteCapacity: pulumi.Int(10), HashKey: pulumi.String("exampleHashKey"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("exampleHashKey"), Type: pulumi.String("S"), }, }, }) if err != nil { return err } _, err = dynamodb.NewTableItem(ctx, "example", &dynamodb.TableItemArgs{ TableName: exampleTable.Name, HashKey: exampleTable.HashKey, Item: pulumi.String(`{ "exampleHashKey": {"S": "something"}, "one": {"N": "11111"}, "two": {"N": "22222"}, "three": {"N": "33333"}, "four": {"N": "44444"} }
`),
}) if err != nil { return err } return nil }) }
```
## Import
You cannot import DynamoDB table items.
func GetTableItem ¶
func GetTableItem(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableItemState, opts ...pulumi.ResourceOption) (*TableItem, error)
GetTableItem gets an existing TableItem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTableItem ¶
func NewTableItem(ctx *pulumi.Context, name string, args *TableItemArgs, opts ...pulumi.ResourceOption) (*TableItem, error)
NewTableItem registers a new resource with the given unique name, arguments, and options.
func (*TableItem) ElementType ¶
func (*TableItem) ToTableItemOutput ¶
func (i *TableItem) ToTableItemOutput() TableItemOutput
func (*TableItem) ToTableItemOutputWithContext ¶
func (i *TableItem) ToTableItemOutputWithContext(ctx context.Context) TableItemOutput
type TableItemArgs ¶
type TableItemArgs struct { // Hash key to use for lookups and identification of the item HashKey pulumi.StringInput // JSON representation of a map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. Item pulumi.StringInput // Range key to use for lookups and identification of the item. Required if there is range key defined in the table. RangeKey pulumi.StringPtrInput // Name of the table to contain the item. TableName pulumi.StringInput }
The set of arguments for constructing a TableItem resource.
func (TableItemArgs) ElementType ¶
func (TableItemArgs) ElementType() reflect.Type
type TableItemArray ¶
type TableItemArray []TableItemInput
func (TableItemArray) ElementType ¶
func (TableItemArray) ElementType() reflect.Type
func (TableItemArray) ToTableItemArrayOutput ¶
func (i TableItemArray) ToTableItemArrayOutput() TableItemArrayOutput
func (TableItemArray) ToTableItemArrayOutputWithContext ¶
func (i TableItemArray) ToTableItemArrayOutputWithContext(ctx context.Context) TableItemArrayOutput
type TableItemArrayInput ¶
type TableItemArrayInput interface { pulumi.Input ToTableItemArrayOutput() TableItemArrayOutput ToTableItemArrayOutputWithContext(context.Context) TableItemArrayOutput }
TableItemArrayInput is an input type that accepts TableItemArray and TableItemArrayOutput values. You can construct a concrete instance of `TableItemArrayInput` via:
TableItemArray{ TableItemArgs{...} }
type TableItemArrayOutput ¶
type TableItemArrayOutput struct{ *pulumi.OutputState }
func (TableItemArrayOutput) ElementType ¶
func (TableItemArrayOutput) ElementType() reflect.Type
func (TableItemArrayOutput) Index ¶
func (o TableItemArrayOutput) Index(i pulumi.IntInput) TableItemOutput
func (TableItemArrayOutput) ToTableItemArrayOutput ¶
func (o TableItemArrayOutput) ToTableItemArrayOutput() TableItemArrayOutput
func (TableItemArrayOutput) ToTableItemArrayOutputWithContext ¶
func (o TableItemArrayOutput) ToTableItemArrayOutputWithContext(ctx context.Context) TableItemArrayOutput
type TableItemInput ¶
type TableItemInput interface { pulumi.Input ToTableItemOutput() TableItemOutput ToTableItemOutputWithContext(ctx context.Context) TableItemOutput }
type TableItemMap ¶
type TableItemMap map[string]TableItemInput
func (TableItemMap) ElementType ¶
func (TableItemMap) ElementType() reflect.Type
func (TableItemMap) ToTableItemMapOutput ¶
func (i TableItemMap) ToTableItemMapOutput() TableItemMapOutput
func (TableItemMap) ToTableItemMapOutputWithContext ¶
func (i TableItemMap) ToTableItemMapOutputWithContext(ctx context.Context) TableItemMapOutput
type TableItemMapInput ¶
type TableItemMapInput interface { pulumi.Input ToTableItemMapOutput() TableItemMapOutput ToTableItemMapOutputWithContext(context.Context) TableItemMapOutput }
TableItemMapInput is an input type that accepts TableItemMap and TableItemMapOutput values. You can construct a concrete instance of `TableItemMapInput` via:
TableItemMap{ "key": TableItemArgs{...} }
type TableItemMapOutput ¶
type TableItemMapOutput struct{ *pulumi.OutputState }
func (TableItemMapOutput) ElementType ¶
func (TableItemMapOutput) ElementType() reflect.Type
func (TableItemMapOutput) MapIndex ¶
func (o TableItemMapOutput) MapIndex(k pulumi.StringInput) TableItemOutput
func (TableItemMapOutput) ToTableItemMapOutput ¶
func (o TableItemMapOutput) ToTableItemMapOutput() TableItemMapOutput
func (TableItemMapOutput) ToTableItemMapOutputWithContext ¶
func (o TableItemMapOutput) ToTableItemMapOutputWithContext(ctx context.Context) TableItemMapOutput
type TableItemOutput ¶
type TableItemOutput struct{ *pulumi.OutputState }
func (TableItemOutput) ElementType ¶
func (TableItemOutput) ElementType() reflect.Type
func (TableItemOutput) HashKey ¶
func (o TableItemOutput) HashKey() pulumi.StringOutput
Hash key to use for lookups and identification of the item
func (TableItemOutput) Item ¶
func (o TableItemOutput) Item() pulumi.StringOutput
JSON representation of a map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
func (TableItemOutput) RangeKey ¶
func (o TableItemOutput) RangeKey() pulumi.StringPtrOutput
Range key to use for lookups and identification of the item. Required if there is range key defined in the table.
func (TableItemOutput) TableName ¶
func (o TableItemOutput) TableName() pulumi.StringOutput
Name of the table to contain the item.
func (TableItemOutput) ToTableItemOutput ¶
func (o TableItemOutput) ToTableItemOutput() TableItemOutput
func (TableItemOutput) ToTableItemOutputWithContext ¶
func (o TableItemOutput) ToTableItemOutputWithContext(ctx context.Context) TableItemOutput
type TableItemState ¶
type TableItemState struct { // Hash key to use for lookups and identification of the item HashKey pulumi.StringPtrInput // JSON representation of a map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. Item pulumi.StringPtrInput // Range key to use for lookups and identification of the item. Required if there is range key defined in the table. RangeKey pulumi.StringPtrInput // Name of the table to contain the item. TableName pulumi.StringPtrInput }
func (TableItemState) ElementType ¶
func (TableItemState) ElementType() reflect.Type
type TableLocalSecondaryIndex ¶
type TableLocalSecondaryIndex struct { // Name of the index Name string `pulumi:"name"` // Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table. NonKeyAttributes []string `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project. ProjectionType string `pulumi:"projectionType"` // Name of the range key. RangeKey string `pulumi:"rangeKey"` }
type TableLocalSecondaryIndexArgs ¶
type TableLocalSecondaryIndexArgs struct { // Name of the index Name pulumi.StringInput `pulumi:"name"` // Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table. NonKeyAttributes pulumi.StringArrayInput `pulumi:"nonKeyAttributes"` // One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project. ProjectionType pulumi.StringInput `pulumi:"projectionType"` // Name of the range key. RangeKey pulumi.StringInput `pulumi:"rangeKey"` }
func (TableLocalSecondaryIndexArgs) ElementType ¶
func (TableLocalSecondaryIndexArgs) ElementType() reflect.Type
func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput ¶
func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
func (TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext ¶
func (i TableLocalSecondaryIndexArgs) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
type TableLocalSecondaryIndexArray ¶
type TableLocalSecondaryIndexArray []TableLocalSecondaryIndexInput
func (TableLocalSecondaryIndexArray) ElementType ¶
func (TableLocalSecondaryIndexArray) ElementType() reflect.Type
func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput ¶
func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
func (TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext ¶
func (i TableLocalSecondaryIndexArray) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
type TableLocalSecondaryIndexArrayInput ¶
type TableLocalSecondaryIndexArrayInput interface { pulumi.Input ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput ToTableLocalSecondaryIndexArrayOutputWithContext(context.Context) TableLocalSecondaryIndexArrayOutput }
TableLocalSecondaryIndexArrayInput is an input type that accepts TableLocalSecondaryIndexArray and TableLocalSecondaryIndexArrayOutput values. You can construct a concrete instance of `TableLocalSecondaryIndexArrayInput` via:
TableLocalSecondaryIndexArray{ TableLocalSecondaryIndexArgs{...} }
type TableLocalSecondaryIndexArrayOutput ¶
type TableLocalSecondaryIndexArrayOutput struct{ *pulumi.OutputState }
func (TableLocalSecondaryIndexArrayOutput) ElementType ¶
func (TableLocalSecondaryIndexArrayOutput) ElementType() reflect.Type
func (TableLocalSecondaryIndexArrayOutput) Index ¶
func (o TableLocalSecondaryIndexArrayOutput) Index(i pulumi.IntInput) TableLocalSecondaryIndexOutput
func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput ¶
func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutput() TableLocalSecondaryIndexArrayOutput
func (TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext ¶
func (o TableLocalSecondaryIndexArrayOutput) ToTableLocalSecondaryIndexArrayOutputWithContext(ctx context.Context) TableLocalSecondaryIndexArrayOutput
type TableLocalSecondaryIndexInput ¶
type TableLocalSecondaryIndexInput interface { pulumi.Input ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput ToTableLocalSecondaryIndexOutputWithContext(context.Context) TableLocalSecondaryIndexOutput }
TableLocalSecondaryIndexInput is an input type that accepts TableLocalSecondaryIndexArgs and TableLocalSecondaryIndexOutput values. You can construct a concrete instance of `TableLocalSecondaryIndexInput` via:
TableLocalSecondaryIndexArgs{...}
type TableLocalSecondaryIndexOutput ¶
type TableLocalSecondaryIndexOutput struct{ *pulumi.OutputState }
func (TableLocalSecondaryIndexOutput) ElementType ¶
func (TableLocalSecondaryIndexOutput) ElementType() reflect.Type
func (TableLocalSecondaryIndexOutput) Name ¶
func (o TableLocalSecondaryIndexOutput) Name() pulumi.StringOutput
Name of the index
func (TableLocalSecondaryIndexOutput) NonKeyAttributes ¶
func (o TableLocalSecondaryIndexOutput) NonKeyAttributes() pulumi.StringArrayOutput
Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
func (TableLocalSecondaryIndexOutput) ProjectionType ¶
func (o TableLocalSecondaryIndexOutput) ProjectionType() pulumi.StringOutput
One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project.
func (TableLocalSecondaryIndexOutput) RangeKey ¶
func (o TableLocalSecondaryIndexOutput) RangeKey() pulumi.StringOutput
Name of the range key.
func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput ¶
func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutput() TableLocalSecondaryIndexOutput
func (TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext ¶
func (o TableLocalSecondaryIndexOutput) ToTableLocalSecondaryIndexOutputWithContext(ctx context.Context) TableLocalSecondaryIndexOutput
type TableMap ¶
type TableMap map[string]TableInput
func (TableMap) ElementType ¶
func (TableMap) ToTableMapOutput ¶
func (i TableMap) ToTableMapOutput() TableMapOutput
func (TableMap) ToTableMapOutputWithContext ¶
func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput
type TableMapInput ¶
type TableMapInput interface { pulumi.Input ToTableMapOutput() TableMapOutput ToTableMapOutputWithContext(context.Context) TableMapOutput }
TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:
TableMap{ "key": TableArgs{...} }
type TableMapOutput ¶
type TableMapOutput struct{ *pulumi.OutputState }
func (TableMapOutput) ElementType ¶
func (TableMapOutput) ElementType() reflect.Type
func (TableMapOutput) MapIndex ¶
func (o TableMapOutput) MapIndex(k pulumi.StringInput) TableOutput
func (TableMapOutput) ToTableMapOutput ¶
func (o TableMapOutput) ToTableMapOutput() TableMapOutput
func (TableMapOutput) ToTableMapOutputWithContext ¶
func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput
type TableOutput ¶
type TableOutput struct{ *pulumi.OutputState }
func (TableOutput) Attributes ¶
func (o TableOutput) Attributes() TableAttributeArrayOutput
Set of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. See below.
func (TableOutput) BillingMode ¶
func (o TableOutput) BillingMode() pulumi.StringPtrOutput
Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`.
func (TableOutput) DeletionProtectionEnabled ¶
func (o TableOutput) DeletionProtectionEnabled() pulumi.BoolPtrOutput
Enables deletion protection for table. Defaults to `false`.
func (TableOutput) ElementType ¶
func (TableOutput) ElementType() reflect.Type
func (TableOutput) GlobalSecondaryIndexes ¶
func (o TableOutput) GlobalSecondaryIndexes() TableGlobalSecondaryIndexArrayOutput
Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc. See below.
func (TableOutput) HashKey ¶
func (o TableOutput) HashKey() pulumi.StringOutput
Attribute to use as the hash (partition) key. Must also be defined as an `attribute`. See below.
func (TableOutput) ImportTable ¶ added in v6.6.0
func (o TableOutput) ImportTable() TableImportTablePtrOutput
Import Amazon S3 data into a new table. See below.
func (TableOutput) LocalSecondaryIndexes ¶
func (o TableOutput) LocalSecondaryIndexes() TableLocalSecondaryIndexArrayOutput
Describe an LSI on the table; these can only be allocated _at creation_ so you cannot change this definition after you have created the resource. See below.
func (TableOutput) Name ¶
func (o TableOutput) Name() pulumi.StringOutput
Unique within a region name of the table.
Optional arguments:
func (TableOutput) PointInTimeRecovery ¶
func (o TableOutput) PointInTimeRecovery() TablePointInTimeRecoveryOutput
Enable point-in-time recovery options. See below.
func (TableOutput) RangeKey ¶
func (o TableOutput) RangeKey() pulumi.StringPtrOutput
Attribute to use as the range (sort) key. Must also be defined as an `attribute`, see below.
func (TableOutput) ReadCapacity ¶
func (o TableOutput) ReadCapacity() pulumi.IntOutput
Number of read units for this table. If the `billingMode` is `PROVISIONED`, this field is required.
func (TableOutput) Replicas ¶
func (o TableOutput) Replicas() TableReplicaTypeArrayOutput
Configuration block(s) with [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) replication configurations. See below.
func (TableOutput) RestoreDateTime ¶
func (o TableOutput) RestoreDateTime() pulumi.StringPtrOutput
Time of the point-in-time recovery point to restore.
func (TableOutput) RestoreSourceName ¶
func (o TableOutput) RestoreSourceName() pulumi.StringPtrOutput
Name of the table to restore. Must match the name of an existing table.
func (TableOutput) RestoreToLatestTime ¶
func (o TableOutput) RestoreToLatestTime() pulumi.BoolPtrOutput
If set, restores table to the most recent point-in-time recovery point.
func (TableOutput) ServerSideEncryption ¶
func (o TableOutput) ServerSideEncryption() TableServerSideEncryptionOutput
Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS-owned Customer Master Key if this argument isn't specified. See below.
func (TableOutput) StreamArn ¶
func (o TableOutput) StreamArn() pulumi.StringOutput
ARN of the Table Stream. Only available when `streamEnabled = true`
func (TableOutput) StreamEnabled ¶
func (o TableOutput) StreamEnabled() pulumi.BoolPtrOutput
Whether Streams are enabled.
func (TableOutput) StreamLabel ¶
func (o TableOutput) StreamLabel() pulumi.StringOutput
Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`.
func (TableOutput) StreamViewType ¶
func (o TableOutput) StreamViewType() pulumi.StringOutput
When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`.
func (TableOutput) TableClass ¶
func (o TableOutput) TableClass() pulumi.StringPtrOutput
Storage class of the table. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. Default value is `STANDARD`.
func (TableOutput) Tags ¶
func (o TableOutput) Tags() pulumi.StringMapOutput
A map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (TableOutput) TagsAll
deprecated
func (o TableOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (TableOutput) ToTableOutput ¶
func (o TableOutput) ToTableOutput() TableOutput
func (TableOutput) ToTableOutputWithContext ¶
func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput
func (TableOutput) Ttl ¶
func (o TableOutput) Ttl() TableTtlOutput
Configuration block for TTL. See below.
func (TableOutput) WriteCapacity ¶
func (o TableOutput) WriteCapacity() pulumi.IntOutput
Number of write units for this table. If the `billingMode` is `PROVISIONED`, this field is required.
type TablePointInTimeRecovery ¶
type TablePointInTimeRecovery struct { // Whether to enable point-in-time recovery. It can take 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided, this defaults to `false`. Enabled bool `pulumi:"enabled"` }
type TablePointInTimeRecoveryArgs ¶
type TablePointInTimeRecoveryArgs struct { // Whether to enable point-in-time recovery. It can take 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided, this defaults to `false`. Enabled pulumi.BoolInput `pulumi:"enabled"` }
func (TablePointInTimeRecoveryArgs) ElementType ¶
func (TablePointInTimeRecoveryArgs) ElementType() reflect.Type
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
func (TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext ¶
func (i TablePointInTimeRecoveryArgs) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
type TablePointInTimeRecoveryInput ¶
type TablePointInTimeRecoveryInput interface { pulumi.Input ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput ToTablePointInTimeRecoveryOutputWithContext(context.Context) TablePointInTimeRecoveryOutput }
TablePointInTimeRecoveryInput is an input type that accepts TablePointInTimeRecoveryArgs and TablePointInTimeRecoveryOutput values. You can construct a concrete instance of `TablePointInTimeRecoveryInput` via:
TablePointInTimeRecoveryArgs{...}
type TablePointInTimeRecoveryOutput ¶
type TablePointInTimeRecoveryOutput struct{ *pulumi.OutputState }
func (TablePointInTimeRecoveryOutput) ElementType ¶
func (TablePointInTimeRecoveryOutput) ElementType() reflect.Type
func (TablePointInTimeRecoveryOutput) Enabled ¶
func (o TablePointInTimeRecoveryOutput) Enabled() pulumi.BoolOutput
Whether to enable point-in-time recovery. It can take 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided, this defaults to `false`.
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutput() TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryOutputWithContext(ctx context.Context) TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
func (TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext ¶
func (o TablePointInTimeRecoveryOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
type TablePointInTimeRecoveryPtrInput ¶
type TablePointInTimeRecoveryPtrInput interface { pulumi.Input ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput ToTablePointInTimeRecoveryPtrOutputWithContext(context.Context) TablePointInTimeRecoveryPtrOutput }
TablePointInTimeRecoveryPtrInput is an input type that accepts TablePointInTimeRecoveryArgs, TablePointInTimeRecoveryPtr and TablePointInTimeRecoveryPtrOutput values. You can construct a concrete instance of `TablePointInTimeRecoveryPtrInput` via:
TablePointInTimeRecoveryArgs{...} or: nil
func TablePointInTimeRecoveryPtr ¶
func TablePointInTimeRecoveryPtr(v *TablePointInTimeRecoveryArgs) TablePointInTimeRecoveryPtrInput
type TablePointInTimeRecoveryPtrOutput ¶
type TablePointInTimeRecoveryPtrOutput struct{ *pulumi.OutputState }
func (TablePointInTimeRecoveryPtrOutput) Elem ¶
func (o TablePointInTimeRecoveryPtrOutput) Elem() TablePointInTimeRecoveryOutput
func (TablePointInTimeRecoveryPtrOutput) ElementType ¶
func (TablePointInTimeRecoveryPtrOutput) ElementType() reflect.Type
func (TablePointInTimeRecoveryPtrOutput) Enabled ¶
func (o TablePointInTimeRecoveryPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether to enable point-in-time recovery. It can take 10 minutes to enable for new tables. If the `pointInTimeRecovery` block is not provided, this defaults to `false`.
func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput ¶
func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutput() TablePointInTimeRecoveryPtrOutput
func (TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext ¶
func (o TablePointInTimeRecoveryPtrOutput) ToTablePointInTimeRecoveryPtrOutputWithContext(ctx context.Context) TablePointInTimeRecoveryPtrOutput
type TableReplica ¶
type TableReplica struct { pulumi.CustomResourceState // ARN of the table replica. Arn pulumi.StringOutput `pulumi:"arn"` // ARN of the _main_ or global table which this resource will replicate. // // Optional arguments: GlobalTableArn pulumi.StringOutput `pulumi:"globalTableArn"` // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. KmsKeyArn pulumi.StringOutput `pulumi:"kmsKeyArn"` // Whether to enable Point In Time Recovery for the replica. Default is `false`. PointInTimeRecovery pulumi.BoolPtrOutput `pulumi:"pointInTimeRecovery"` // Storage class of the table replica. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. If not used, the table replica will use the same class as the global table. TableClassOverride pulumi.StringPtrOutput `pulumi:"tableClassOverride"` // Map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a DynamoDB table replica resource for [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html).
> **Note:** Use `lifecycle` `ignoreChanges` for `replica` in the associated dynamodb.Table configuration.
> **Note:** Do not use the `replica` configuration block of dynamodb.Table together with this resource as the two configuration options are mutually exclusive.
## Example Usage
### Basic Example
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{ Name: pulumi.String("TestTable"), HashKey: pulumi.String("BrodoBaggins"), BillingMode: pulumi.String("PAY_PER_REQUEST"), StreamEnabled: pulumi.Bool(true), StreamViewType: pulumi.String("NEW_AND_OLD_IMAGES"), Attributes: dynamodb.TableAttributeArray{ &dynamodb.TableAttributeArgs{ Name: pulumi.String("BrodoBaggins"), Type: pulumi.String("S"), }, }, }) if err != nil { return err } _, err = dynamodb.NewTableReplica(ctx, "example", &dynamodb.TableReplicaArgs{ GlobalTableArn: example.Arn, Tags: pulumi.StringMap{ "Name": pulumi.String("IZPAWS"), "Pozo": pulumi.String("Amargo"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import DynamoDB table replicas using the `table-name:main-region`. For example:
~> __Note:__ When importing, use the region where the initial or _main_ global table resides, _not_ the region of the replica.
```sh $ pulumi import aws:dynamodb/tableReplica:TableReplica example TestTable:us-west-2 ```
func GetTableReplica ¶
func GetTableReplica(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableReplicaState, opts ...pulumi.ResourceOption) (*TableReplica, error)
GetTableReplica gets an existing TableReplica resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTableReplica ¶
func NewTableReplica(ctx *pulumi.Context, name string, args *TableReplicaArgs, opts ...pulumi.ResourceOption) (*TableReplica, error)
NewTableReplica registers a new resource with the given unique name, arguments, and options.
func (*TableReplica) ElementType ¶
func (*TableReplica) ElementType() reflect.Type
func (*TableReplica) ToTableReplicaOutput ¶
func (i *TableReplica) ToTableReplicaOutput() TableReplicaOutput
func (*TableReplica) ToTableReplicaOutputWithContext ¶
func (i *TableReplica) ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput
type TableReplicaArgs ¶
type TableReplicaArgs struct { // ARN of the _main_ or global table which this resource will replicate. // // Optional arguments: GlobalTableArn pulumi.StringInput // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. KmsKeyArn pulumi.StringPtrInput // Whether to enable Point In Time Recovery for the replica. Default is `false`. PointInTimeRecovery pulumi.BoolPtrInput // Storage class of the table replica. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. If not used, the table replica will use the same class as the global table. TableClassOverride pulumi.StringPtrInput // Map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a TableReplica resource.
func (TableReplicaArgs) ElementType ¶
func (TableReplicaArgs) ElementType() reflect.Type
type TableReplicaArray ¶
type TableReplicaArray []TableReplicaInput
func (TableReplicaArray) ElementType ¶
func (TableReplicaArray) ElementType() reflect.Type
func (TableReplicaArray) ToTableReplicaArrayOutput ¶
func (i TableReplicaArray) ToTableReplicaArrayOutput() TableReplicaArrayOutput
func (TableReplicaArray) ToTableReplicaArrayOutputWithContext ¶
func (i TableReplicaArray) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput
type TableReplicaArrayInput ¶
type TableReplicaArrayInput interface { pulumi.Input ToTableReplicaArrayOutput() TableReplicaArrayOutput ToTableReplicaArrayOutputWithContext(context.Context) TableReplicaArrayOutput }
TableReplicaArrayInput is an input type that accepts TableReplicaArray and TableReplicaArrayOutput values. You can construct a concrete instance of `TableReplicaArrayInput` via:
TableReplicaArray{ TableReplicaArgs{...} }
type TableReplicaArrayOutput ¶
type TableReplicaArrayOutput struct{ *pulumi.OutputState }
func (TableReplicaArrayOutput) ElementType ¶
func (TableReplicaArrayOutput) ElementType() reflect.Type
func (TableReplicaArrayOutput) Index ¶
func (o TableReplicaArrayOutput) Index(i pulumi.IntInput) TableReplicaOutput
func (TableReplicaArrayOutput) ToTableReplicaArrayOutput ¶
func (o TableReplicaArrayOutput) ToTableReplicaArrayOutput() TableReplicaArrayOutput
func (TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext ¶
func (o TableReplicaArrayOutput) ToTableReplicaArrayOutputWithContext(ctx context.Context) TableReplicaArrayOutput
type TableReplicaInput ¶
type TableReplicaInput interface { pulumi.Input ToTableReplicaOutput() TableReplicaOutput ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput }
type TableReplicaMap ¶
type TableReplicaMap map[string]TableReplicaInput
func (TableReplicaMap) ElementType ¶
func (TableReplicaMap) ElementType() reflect.Type
func (TableReplicaMap) ToTableReplicaMapOutput ¶
func (i TableReplicaMap) ToTableReplicaMapOutput() TableReplicaMapOutput
func (TableReplicaMap) ToTableReplicaMapOutputWithContext ¶
func (i TableReplicaMap) ToTableReplicaMapOutputWithContext(ctx context.Context) TableReplicaMapOutput
type TableReplicaMapInput ¶
type TableReplicaMapInput interface { pulumi.Input ToTableReplicaMapOutput() TableReplicaMapOutput ToTableReplicaMapOutputWithContext(context.Context) TableReplicaMapOutput }
TableReplicaMapInput is an input type that accepts TableReplicaMap and TableReplicaMapOutput values. You can construct a concrete instance of `TableReplicaMapInput` via:
TableReplicaMap{ "key": TableReplicaArgs{...} }
type TableReplicaMapOutput ¶
type TableReplicaMapOutput struct{ *pulumi.OutputState }
func (TableReplicaMapOutput) ElementType ¶
func (TableReplicaMapOutput) ElementType() reflect.Type
func (TableReplicaMapOutput) MapIndex ¶
func (o TableReplicaMapOutput) MapIndex(k pulumi.StringInput) TableReplicaOutput
func (TableReplicaMapOutput) ToTableReplicaMapOutput ¶
func (o TableReplicaMapOutput) ToTableReplicaMapOutput() TableReplicaMapOutput
func (TableReplicaMapOutput) ToTableReplicaMapOutputWithContext ¶
func (o TableReplicaMapOutput) ToTableReplicaMapOutputWithContext(ctx context.Context) TableReplicaMapOutput
type TableReplicaOutput ¶
type TableReplicaOutput struct{ *pulumi.OutputState }
func (TableReplicaOutput) Arn ¶
func (o TableReplicaOutput) Arn() pulumi.StringOutput
ARN of the table replica.
func (TableReplicaOutput) ElementType ¶
func (TableReplicaOutput) ElementType() reflect.Type
func (TableReplicaOutput) GlobalTableArn ¶
func (o TableReplicaOutput) GlobalTableArn() pulumi.StringOutput
ARN of the _main_ or global table which this resource will replicate.
Optional arguments:
func (TableReplicaOutput) KmsKeyArn ¶
func (o TableReplicaOutput) KmsKeyArn() pulumi.StringOutput
ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
func (TableReplicaOutput) PointInTimeRecovery ¶
func (o TableReplicaOutput) PointInTimeRecovery() pulumi.BoolPtrOutput
Whether to enable Point In Time Recovery for the replica. Default is `false`.
func (TableReplicaOutput) TableClassOverride ¶
func (o TableReplicaOutput) TableClassOverride() pulumi.StringPtrOutput
Storage class of the table replica. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. If not used, the table replica will use the same class as the global table.
func (TableReplicaOutput) Tags ¶
func (o TableReplicaOutput) Tags() pulumi.StringMapOutput
Map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (TableReplicaOutput) TagsAll
deprecated
func (o TableReplicaOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (TableReplicaOutput) ToTableReplicaOutput ¶
func (o TableReplicaOutput) ToTableReplicaOutput() TableReplicaOutput
func (TableReplicaOutput) ToTableReplicaOutputWithContext ¶
func (o TableReplicaOutput) ToTableReplicaOutputWithContext(ctx context.Context) TableReplicaOutput
type TableReplicaState ¶
type TableReplicaState struct { // ARN of the table replica. Arn pulumi.StringPtrInput // ARN of the _main_ or global table which this resource will replicate. // // Optional arguments: GlobalTableArn pulumi.StringPtrInput // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. KmsKeyArn pulumi.StringPtrInput // Whether to enable Point In Time Recovery for the replica. Default is `false`. PointInTimeRecovery pulumi.BoolPtrInput // Storage class of the table replica. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. If not used, the table replica will use the same class as the global table. TableClassOverride pulumi.StringPtrInput // Map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (TableReplicaState) ElementType ¶
func (TableReplicaState) ElementType() reflect.Type
type TableReplicaType ¶
type TableReplicaType struct { // ARN of the table Arn *string `pulumi:"arn"` // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. KmsKeyArn *string `pulumi:"kmsKeyArn"` // Whether to enable Point In Time Recovery for the replica. Default is `false`. PointInTimeRecovery *bool `pulumi:"pointInTimeRecovery"` // Whether to propagate the global table's tags to a replica. Default is `false`. Changes to tags only move in one direction: from global (source) to replica. In other words, tag drift on a replica will not trigger an update. Tag or replica changes on the global table, whether from drift or configuration changes, are propagated to replicas. Changing from `true` to `false` on a subsequent `apply` means replica tags are left as they were, unmanaged, not deleted. PropagateTags *bool `pulumi:"propagateTags"` // Region name of the replica. RegionName string `pulumi:"regionName"` // ARN of the Table Stream. Only available when `streamEnabled = true` StreamArn *string `pulumi:"streamArn"` // Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`. StreamLabel *string `pulumi:"streamLabel"` }
type TableReplicaTypeArgs ¶
type TableReplicaTypeArgs struct { // ARN of the table Arn pulumi.StringPtrInput `pulumi:"arn"` // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"` // Whether to enable Point In Time Recovery for the replica. Default is `false`. PointInTimeRecovery pulumi.BoolPtrInput `pulumi:"pointInTimeRecovery"` // Whether to propagate the global table's tags to a replica. Default is `false`. Changes to tags only move in one direction: from global (source) to replica. In other words, tag drift on a replica will not trigger an update. Tag or replica changes on the global table, whether from drift or configuration changes, are propagated to replicas. Changing from `true` to `false` on a subsequent `apply` means replica tags are left as they were, unmanaged, not deleted. PropagateTags pulumi.BoolPtrInput `pulumi:"propagateTags"` // Region name of the replica. RegionName pulumi.StringInput `pulumi:"regionName"` // ARN of the Table Stream. Only available when `streamEnabled = true` StreamArn pulumi.StringPtrInput `pulumi:"streamArn"` // Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`. StreamLabel pulumi.StringPtrInput `pulumi:"streamLabel"` }
func (TableReplicaTypeArgs) ElementType ¶
func (TableReplicaTypeArgs) ElementType() reflect.Type
func (TableReplicaTypeArgs) ToTableReplicaTypeOutput ¶
func (i TableReplicaTypeArgs) ToTableReplicaTypeOutput() TableReplicaTypeOutput
func (TableReplicaTypeArgs) ToTableReplicaTypeOutputWithContext ¶
func (i TableReplicaTypeArgs) ToTableReplicaTypeOutputWithContext(ctx context.Context) TableReplicaTypeOutput
type TableReplicaTypeArray ¶
type TableReplicaTypeArray []TableReplicaTypeInput
func (TableReplicaTypeArray) ElementType ¶
func (TableReplicaTypeArray) ElementType() reflect.Type
func (TableReplicaTypeArray) ToTableReplicaTypeArrayOutput ¶
func (i TableReplicaTypeArray) ToTableReplicaTypeArrayOutput() TableReplicaTypeArrayOutput
func (TableReplicaTypeArray) ToTableReplicaTypeArrayOutputWithContext ¶
func (i TableReplicaTypeArray) ToTableReplicaTypeArrayOutputWithContext(ctx context.Context) TableReplicaTypeArrayOutput
type TableReplicaTypeArrayInput ¶
type TableReplicaTypeArrayInput interface { pulumi.Input ToTableReplicaTypeArrayOutput() TableReplicaTypeArrayOutput ToTableReplicaTypeArrayOutputWithContext(context.Context) TableReplicaTypeArrayOutput }
TableReplicaTypeArrayInput is an input type that accepts TableReplicaTypeArray and TableReplicaTypeArrayOutput values. You can construct a concrete instance of `TableReplicaTypeArrayInput` via:
TableReplicaTypeArray{ TableReplicaTypeArgs{...} }
type TableReplicaTypeArrayOutput ¶
type TableReplicaTypeArrayOutput struct{ *pulumi.OutputState }
func (TableReplicaTypeArrayOutput) ElementType ¶
func (TableReplicaTypeArrayOutput) ElementType() reflect.Type
func (TableReplicaTypeArrayOutput) Index ¶
func (o TableReplicaTypeArrayOutput) Index(i pulumi.IntInput) TableReplicaTypeOutput
func (TableReplicaTypeArrayOutput) ToTableReplicaTypeArrayOutput ¶
func (o TableReplicaTypeArrayOutput) ToTableReplicaTypeArrayOutput() TableReplicaTypeArrayOutput
func (TableReplicaTypeArrayOutput) ToTableReplicaTypeArrayOutputWithContext ¶
func (o TableReplicaTypeArrayOutput) ToTableReplicaTypeArrayOutputWithContext(ctx context.Context) TableReplicaTypeArrayOutput
type TableReplicaTypeInput ¶
type TableReplicaTypeInput interface { pulumi.Input ToTableReplicaTypeOutput() TableReplicaTypeOutput ToTableReplicaTypeOutputWithContext(context.Context) TableReplicaTypeOutput }
TableReplicaTypeInput is an input type that accepts TableReplicaTypeArgs and TableReplicaTypeOutput values. You can construct a concrete instance of `TableReplicaTypeInput` via:
TableReplicaTypeArgs{...}
type TableReplicaTypeOutput ¶
type TableReplicaTypeOutput struct{ *pulumi.OutputState }
func (TableReplicaTypeOutput) Arn ¶
func (o TableReplicaTypeOutput) Arn() pulumi.StringPtrOutput
ARN of the table
func (TableReplicaTypeOutput) ElementType ¶
func (TableReplicaTypeOutput) ElementType() reflect.Type
func (TableReplicaTypeOutput) KmsKeyArn ¶
func (o TableReplicaTypeOutput) KmsKeyArn() pulumi.StringPtrOutput
ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
func (TableReplicaTypeOutput) PointInTimeRecovery ¶
func (o TableReplicaTypeOutput) PointInTimeRecovery() pulumi.BoolPtrOutput
Whether to enable Point In Time Recovery for the replica. Default is `false`.
func (TableReplicaTypeOutput) PropagateTags ¶
func (o TableReplicaTypeOutput) PropagateTags() pulumi.BoolPtrOutput
Whether to propagate the global table's tags to a replica. Default is `false`. Changes to tags only move in one direction: from global (source) to replica. In other words, tag drift on a replica will not trigger an update. Tag or replica changes on the global table, whether from drift or configuration changes, are propagated to replicas. Changing from `true` to `false` on a subsequent `apply` means replica tags are left as they were, unmanaged, not deleted.
func (TableReplicaTypeOutput) RegionName ¶
func (o TableReplicaTypeOutput) RegionName() pulumi.StringOutput
Region name of the replica.
func (TableReplicaTypeOutput) StreamArn ¶
func (o TableReplicaTypeOutput) StreamArn() pulumi.StringPtrOutput
ARN of the Table Stream. Only available when `streamEnabled = true`
func (TableReplicaTypeOutput) StreamLabel ¶
func (o TableReplicaTypeOutput) StreamLabel() pulumi.StringPtrOutput
Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`.
func (TableReplicaTypeOutput) ToTableReplicaTypeOutput ¶
func (o TableReplicaTypeOutput) ToTableReplicaTypeOutput() TableReplicaTypeOutput
func (TableReplicaTypeOutput) ToTableReplicaTypeOutputWithContext ¶
func (o TableReplicaTypeOutput) ToTableReplicaTypeOutputWithContext(ctx context.Context) TableReplicaTypeOutput
type TableServerSideEncryption ¶
type TableServerSideEncryption struct { // Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK). If `enabled` is `false` then server-side encryption is set to AWS-_owned_ key (shown as `DEFAULT` in the AWS console). Potentially confusingly, if `enabled` is `true` and no `kmsKeyArn` is specified then server-side encryption is set to the _default_ KMS-_managed_ key (shown as `KMS` in the AWS console). The [AWS KMS documentation](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html) explains the difference between AWS-_owned_ and KMS-_managed_ keys. Enabled bool `pulumi:"enabled"` // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. KmsKeyArn *string `pulumi:"kmsKeyArn"` }
type TableServerSideEncryptionArgs ¶
type TableServerSideEncryptionArgs struct { // Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK). If `enabled` is `false` then server-side encryption is set to AWS-_owned_ key (shown as `DEFAULT` in the AWS console). Potentially confusingly, if `enabled` is `true` and no `kmsKeyArn` is specified then server-side encryption is set to the _default_ KMS-_managed_ key (shown as `KMS` in the AWS console). The [AWS KMS documentation](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html) explains the difference between AWS-_owned_ and KMS-_managed_ keys. Enabled pulumi.BoolInput `pulumi:"enabled"` // ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"` }
func (TableServerSideEncryptionArgs) ElementType ¶
func (TableServerSideEncryptionArgs) ElementType() reflect.Type
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
func (TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext ¶
func (i TableServerSideEncryptionArgs) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
type TableServerSideEncryptionInput ¶
type TableServerSideEncryptionInput interface { pulumi.Input ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput ToTableServerSideEncryptionOutputWithContext(context.Context) TableServerSideEncryptionOutput }
TableServerSideEncryptionInput is an input type that accepts TableServerSideEncryptionArgs and TableServerSideEncryptionOutput values. You can construct a concrete instance of `TableServerSideEncryptionInput` via:
TableServerSideEncryptionArgs{...}
type TableServerSideEncryptionOutput ¶
type TableServerSideEncryptionOutput struct{ *pulumi.OutputState }
func (TableServerSideEncryptionOutput) ElementType ¶
func (TableServerSideEncryptionOutput) ElementType() reflect.Type
func (TableServerSideEncryptionOutput) Enabled ¶
func (o TableServerSideEncryptionOutput) Enabled() pulumi.BoolOutput
Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK). If `enabled` is `false` then server-side encryption is set to AWS-_owned_ key (shown as `DEFAULT` in the AWS console). Potentially confusingly, if `enabled` is `true` and no `kmsKeyArn` is specified then server-side encryption is set to the _default_ KMS-_managed_ key (shown as `KMS` in the AWS console). The [AWS KMS documentation](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html) explains the difference between AWS-_owned_ and KMS-_managed_ keys.
func (TableServerSideEncryptionOutput) KmsKeyArn ¶
func (o TableServerSideEncryptionOutput) KmsKeyArn() pulumi.StringPtrOutput
ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutput() TableServerSideEncryptionOutput
func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionOutputWithContext(ctx context.Context) TableServerSideEncryptionOutput
func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
func (TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext ¶
func (o TableServerSideEncryptionOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
type TableServerSideEncryptionPtrInput ¶
type TableServerSideEncryptionPtrInput interface { pulumi.Input ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput ToTableServerSideEncryptionPtrOutputWithContext(context.Context) TableServerSideEncryptionPtrOutput }
TableServerSideEncryptionPtrInput is an input type that accepts TableServerSideEncryptionArgs, TableServerSideEncryptionPtr and TableServerSideEncryptionPtrOutput values. You can construct a concrete instance of `TableServerSideEncryptionPtrInput` via:
TableServerSideEncryptionArgs{...} or: nil
func TableServerSideEncryptionPtr ¶
func TableServerSideEncryptionPtr(v *TableServerSideEncryptionArgs) TableServerSideEncryptionPtrInput
type TableServerSideEncryptionPtrOutput ¶
type TableServerSideEncryptionPtrOutput struct{ *pulumi.OutputState }
func (TableServerSideEncryptionPtrOutput) Elem ¶
func (o TableServerSideEncryptionPtrOutput) Elem() TableServerSideEncryptionOutput
func (TableServerSideEncryptionPtrOutput) ElementType ¶
func (TableServerSideEncryptionPtrOutput) ElementType() reflect.Type
func (TableServerSideEncryptionPtrOutput) Enabled ¶
func (o TableServerSideEncryptionPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK). If `enabled` is `false` then server-side encryption is set to AWS-_owned_ key (shown as `DEFAULT` in the AWS console). Potentially confusingly, if `enabled` is `true` and no `kmsKeyArn` is specified then server-side encryption is set to the _default_ KMS-_managed_ key (shown as `KMS` in the AWS console). The [AWS KMS documentation](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html) explains the difference between AWS-_owned_ and KMS-_managed_ keys.
func (TableServerSideEncryptionPtrOutput) KmsKeyArn ¶
func (o TableServerSideEncryptionPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
func (TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput ¶
func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutput() TableServerSideEncryptionPtrOutput
func (TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext ¶
func (o TableServerSideEncryptionPtrOutput) ToTableServerSideEncryptionPtrOutputWithContext(ctx context.Context) TableServerSideEncryptionPtrOutput
type TableState ¶
type TableState struct { // ARN of the table Arn pulumi.StringPtrInput // Set of nested attribute definitions. Only required for `hashKey` and `rangeKey` attributes. See below. Attributes TableAttributeArrayInput // Controls how you are charged for read and write throughput and how you manage capacity. The valid values are `PROVISIONED` and `PAY_PER_REQUEST`. Defaults to `PROVISIONED`. BillingMode pulumi.StringPtrInput // Enables deletion protection for table. Defaults to `false`. DeletionProtectionEnabled pulumi.BoolPtrInput // Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc. See below. GlobalSecondaryIndexes TableGlobalSecondaryIndexArrayInput // Attribute to use as the hash (partition) key. Must also be defined as an `attribute`. See below. HashKey pulumi.StringPtrInput // Import Amazon S3 data into a new table. See below. ImportTable TableImportTablePtrInput // Describe an LSI on the table; these can only be allocated _at creation_ so you cannot change this definition after you have created the resource. See below. LocalSecondaryIndexes TableLocalSecondaryIndexArrayInput // Unique within a region name of the table. // // Optional arguments: Name pulumi.StringPtrInput // Enable point-in-time recovery options. See below. PointInTimeRecovery TablePointInTimeRecoveryPtrInput // Attribute to use as the range (sort) key. Must also be defined as an `attribute`, see below. RangeKey pulumi.StringPtrInput // Number of read units for this table. If the `billingMode` is `PROVISIONED`, this field is required. ReadCapacity pulumi.IntPtrInput // Configuration block(s) with [DynamoDB Global Tables V2 (version 2019.11.21)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html) replication configurations. See below. Replicas TableReplicaTypeArrayInput // Time of the point-in-time recovery point to restore. RestoreDateTime pulumi.StringPtrInput // Name of the table to restore. Must match the name of an existing table. RestoreSourceName pulumi.StringPtrInput // If set, restores table to the most recent point-in-time recovery point. RestoreToLatestTime pulumi.BoolPtrInput // Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS-owned Customer Master Key if this argument isn't specified. See below. ServerSideEncryption TableServerSideEncryptionPtrInput // ARN of the Table Stream. Only available when `streamEnabled = true` StreamArn pulumi.StringPtrInput // Whether Streams are enabled. StreamEnabled pulumi.BoolPtrInput // Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`. StreamLabel pulumi.StringPtrInput // When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are `KEYS_ONLY`, `NEW_IMAGE`, `OLD_IMAGE`, `NEW_AND_OLD_IMAGES`. StreamViewType pulumi.StringPtrInput // Storage class of the table. // Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS`. // Default value is `STANDARD`. TableClass pulumi.StringPtrInput // A map of tags to populate on the created table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // Configuration block for TTL. See below. Ttl TableTtlPtrInput // Number of write units for this table. If the `billingMode` is `PROVISIONED`, this field is required. WriteCapacity pulumi.IntPtrInput }
func (TableState) ElementType ¶
func (TableState) ElementType() reflect.Type
type TableTtlArgs ¶
type TableTtlArgs struct { // Name of the table attribute to store the TTL timestamp in. AttributeName pulumi.StringInput `pulumi:"attributeName"` // Whether TTL is enabled. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` }
func (TableTtlArgs) ElementType ¶
func (TableTtlArgs) ElementType() reflect.Type
func (TableTtlArgs) ToTableTtlOutput ¶
func (i TableTtlArgs) ToTableTtlOutput() TableTtlOutput
func (TableTtlArgs) ToTableTtlOutputWithContext ¶
func (i TableTtlArgs) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
func (TableTtlArgs) ToTableTtlPtrOutput ¶
func (i TableTtlArgs) ToTableTtlPtrOutput() TableTtlPtrOutput
func (TableTtlArgs) ToTableTtlPtrOutputWithContext ¶
func (i TableTtlArgs) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
type TableTtlInput ¶
type TableTtlInput interface { pulumi.Input ToTableTtlOutput() TableTtlOutput ToTableTtlOutputWithContext(context.Context) TableTtlOutput }
TableTtlInput is an input type that accepts TableTtlArgs and TableTtlOutput values. You can construct a concrete instance of `TableTtlInput` via:
TableTtlArgs{...}
type TableTtlOutput ¶
type TableTtlOutput struct{ *pulumi.OutputState }
func (TableTtlOutput) AttributeName ¶
func (o TableTtlOutput) AttributeName() pulumi.StringOutput
Name of the table attribute to store the TTL timestamp in.
func (TableTtlOutput) ElementType ¶
func (TableTtlOutput) ElementType() reflect.Type
func (TableTtlOutput) Enabled ¶
func (o TableTtlOutput) Enabled() pulumi.BoolPtrOutput
Whether TTL is enabled.
func (TableTtlOutput) ToTableTtlOutput ¶
func (o TableTtlOutput) ToTableTtlOutput() TableTtlOutput
func (TableTtlOutput) ToTableTtlOutputWithContext ¶
func (o TableTtlOutput) ToTableTtlOutputWithContext(ctx context.Context) TableTtlOutput
func (TableTtlOutput) ToTableTtlPtrOutput ¶
func (o TableTtlOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
func (TableTtlOutput) ToTableTtlPtrOutputWithContext ¶
func (o TableTtlOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
type TableTtlPtrInput ¶
type TableTtlPtrInput interface { pulumi.Input ToTableTtlPtrOutput() TableTtlPtrOutput ToTableTtlPtrOutputWithContext(context.Context) TableTtlPtrOutput }
TableTtlPtrInput is an input type that accepts TableTtlArgs, TableTtlPtr and TableTtlPtrOutput values. You can construct a concrete instance of `TableTtlPtrInput` via:
TableTtlArgs{...} or: nil
func TableTtlPtr ¶
func TableTtlPtr(v *TableTtlArgs) TableTtlPtrInput
type TableTtlPtrOutput ¶
type TableTtlPtrOutput struct{ *pulumi.OutputState }
func (TableTtlPtrOutput) AttributeName ¶
func (o TableTtlPtrOutput) AttributeName() pulumi.StringPtrOutput
Name of the table attribute to store the TTL timestamp in.
func (TableTtlPtrOutput) Elem ¶
func (o TableTtlPtrOutput) Elem() TableTtlOutput
func (TableTtlPtrOutput) ElementType ¶
func (TableTtlPtrOutput) ElementType() reflect.Type
func (TableTtlPtrOutput) Enabled ¶
func (o TableTtlPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether TTL is enabled.
func (TableTtlPtrOutput) ToTableTtlPtrOutput ¶
func (o TableTtlPtrOutput) ToTableTtlPtrOutput() TableTtlPtrOutput
func (TableTtlPtrOutput) ToTableTtlPtrOutputWithContext ¶
func (o TableTtlPtrOutput) ToTableTtlPtrOutputWithContext(ctx context.Context) TableTtlPtrOutput
type Tag ¶
type Tag struct { pulumi.CustomResourceState // Tag name. Key pulumi.StringOutput `pulumi:"key"` // Amazon Resource Name (ARN) of the DynamoDB resource to tag. ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` // Tag value. Value pulumi.StringOutput `pulumi:"value"` }
Manages an individual DynamoDB resource tag. This resource should only be used in cases where DynamoDB resources are created outside the provider (e.g., Table replicas in other regions).
> **NOTE:** This tagging resource should not be combined with the resource for managing the parent resource. For example, using `dynamodb.Table` and `dynamodb.Tag` to manage tags of the same DynamoDB Table in the same region will cause a perpetual difference where the `awsDynamodbCluster` resource will try to remove the tag being added by the `dynamodb.Tag` resource.
> **NOTE:** This tagging resource does not use the provider `ignoreTags` configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { replica, err := aws.GetRegion(ctx, nil, nil) if err != nil { return err } current, err := aws.GetRegion(ctx, nil, nil) if err != nil { return err } example, err := dynamodb.NewTable(ctx, "example", &dynamodb.TableArgs{ Replicas: dynamodb.TableReplicaTypeArray{ &dynamodb.TableReplicaTypeArgs{ RegionName: pulumi.String(replica.Name), }, }, }) if err != nil { return err } _, err = dynamodb.NewTag(ctx, "test", &dynamodb.TagArgs{ ResourceArn: example.Arn.ApplyT(func(arn string) (std.ReplaceResult, error) { return std.ReplaceOutput(ctx, std.ReplaceOutputArgs{ Text: arn, Search: current.Name, Replace: replica.Name, }, nil), nil }).(std.ReplaceResultOutput).ApplyT(func(invoke std.ReplaceResult) (*string, error) { return invoke.Result, nil }).(pulumi.StringPtrOutput), Key: pulumi.String("testkey"), Value: pulumi.String("testvalue"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import `aws_dynamodb_tag` using the DynamoDB resource identifier and key, separated by a comma (`,`). For example:
```sh $ pulumi import aws:dynamodb/tag:Tag example arn:aws:dynamodb:us-east-1:123456789012:table/example,Name ```
func GetTag ¶
func GetTag(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error)
GetTag gets an existing Tag resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTag ¶
func NewTag(ctx *pulumi.Context, name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error)
NewTag registers a new resource with the given unique name, arguments, and options.
func (*Tag) ElementType ¶
func (*Tag) ToTagOutput ¶
type TagArgs ¶
type TagArgs struct { // Tag name. Key pulumi.StringInput // Amazon Resource Name (ARN) of the DynamoDB resource to tag. ResourceArn pulumi.StringInput // Tag value. Value pulumi.StringInput }
The set of arguments for constructing a Tag resource.
func (TagArgs) ElementType ¶
type TagArray ¶
type TagArray []TagInput
func (TagArray) ElementType ¶
func (TagArray) ToTagArrayOutput ¶
func (i TagArray) ToTagArrayOutput() TagArrayOutput
func (TagArray) ToTagArrayOutputWithContext ¶
func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagArrayInput ¶
type TagArrayInput interface { pulumi.Input ToTagArrayOutput() TagArrayOutput ToTagArrayOutputWithContext(context.Context) TagArrayOutput }
TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. You can construct a concrete instance of `TagArrayInput` via:
TagArray{ TagArgs{...} }
type TagArrayOutput ¶
type TagArrayOutput struct{ *pulumi.OutputState }
func (TagArrayOutput) ElementType ¶
func (TagArrayOutput) ElementType() reflect.Type
func (TagArrayOutput) ToTagArrayOutput ¶
func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput
func (TagArrayOutput) ToTagArrayOutputWithContext ¶
func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput
type TagMap ¶
func (TagMap) ElementType ¶
func (TagMap) ToTagMapOutput ¶
func (i TagMap) ToTagMapOutput() TagMapOutput
func (TagMap) ToTagMapOutputWithContext ¶
func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagMapInput ¶
type TagMapInput interface { pulumi.Input ToTagMapOutput() TagMapOutput ToTagMapOutputWithContext(context.Context) TagMapOutput }
TagMapInput is an input type that accepts TagMap and TagMapOutput values. You can construct a concrete instance of `TagMapInput` via:
TagMap{ "key": TagArgs{...} }
type TagMapOutput ¶
type TagMapOutput struct{ *pulumi.OutputState }
func (TagMapOutput) ElementType ¶
func (TagMapOutput) ElementType() reflect.Type
func (TagMapOutput) MapIndex ¶
func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput
func (TagMapOutput) ToTagMapOutput ¶
func (o TagMapOutput) ToTagMapOutput() TagMapOutput
func (TagMapOutput) ToTagMapOutputWithContext ¶
func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput
type TagOutput ¶
type TagOutput struct{ *pulumi.OutputState }
func (TagOutput) ElementType ¶
func (TagOutput) ResourceArn ¶
func (o TagOutput) ResourceArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the DynamoDB resource to tag.
func (TagOutput) ToTagOutput ¶
func (TagOutput) ToTagOutputWithContext ¶
type TagState ¶
type TagState struct { // Tag name. Key pulumi.StringPtrInput // Amazon Resource Name (ARN) of the DynamoDB resource to tag. ResourceArn pulumi.StringPtrInput // Tag value. Value pulumi.StringPtrInput }