AWS Amazon SimpleDB SimpleDB Domain

This page shows how to write Terraform and CloudFormation for Amazon SimpleDB SimpleDB Domain and write them securely.

aws_simpledb_domain (Terraform)

The SimpleDB Domain in Amazon SimpleDB can be configured in Terraform with the resource name aws_simpledb_domain. The following sections describe 3 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L1
resource "aws_simpledb_domain" "users" {
  name = var.name
}


main.tf#L7
resource "aws_simpledb_domain" "this" {
  name = var.name
}

main.tf#L26
resource "aws_simpledb_domain" "users" {
  name = "users"
}

resource "aws_lambda_function" "hello_world" {
  function_name = "hello_world"

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

  • id optional computed - string
  • name required - string

Explanation in Terraform Registry

Provides a SimpleDB domain resource

AWS::SDB::Domain (CloudFormation)

The Domain in SDB can be configured in CloudFormation with the resource name AWS::SDB::Domain. The following sections describe 10 examples of how to use the resource and its parameters.

Example Usage from GitHub

serverless.yml#L78
      Type: "AWS::SDB::Domain"
      Properties:
        Description: LaunchLTI SimpleDB for caching userId values
simpledb_domain_resource.yml#L4
    Type: AWS::SDB::Domain
    Properties:
simpledb_domain_resource.yml#L4
    Type: AWS::SDB::Domain
    Properties:
simpledb.yml#L4
    Type: AWS::SDB::Domain
    Properties:
      Description: Other than this AWS CloudFormation Description property, SDB Domains
        have no properties.
serverless.yml#L33
      Type: AWS::SDB::Domain
      Properties:
        Description: sdb

plugins:
  - serverless-offline
SDBDomainSpecification.json#L4
    "AWS::SDB::Domain": {
      "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html",
      "Properties": {
        "Description": {
          "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html#cfn-sdb-domain-description",
          "PrimitiveType": "String",
SDBDomainSpecification.json#L3
    "AWS::SDB::Domain": {
      "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html",
      "Properties": {
        "Description": {
          "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html#cfn-sdb-domain-description",
          "PrimitiveType": "String",
SDBDomainSpecification.json#L3
    "AWS::SDB::Domain": {
      "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html",
      "Properties": {
        "Description": {
          "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html#cfn-sdb-domain-description",
          "PrimitiveType": "String",
positive2.json#L12
      "Type": "AWS::SDB::Domain",
      "Properties": {
        "Description": "Some information"
      }
    }
  }
positive2.json#L12
      "Type": "AWS::SDB::Domain",
      "Properties": {
        "Description": "Some information"
      }
    }
  }

Parameters

Explanation in CloudFormation Registry

Use the AWS::SDB::Domain resource to declare a SimpleDB domain. When you specify AWS::SDB::Domain as an argument in a Ref function, AWS CloudFormation returns the value of the DomainName. Important The AWS::SDB::Domain resource does not allow any updates, including metadata updates.

Frequently asked questions

What is AWS Amazon SimpleDB SimpleDB Domain?

AWS Amazon SimpleDB SimpleDB Domain is a resource for Amazon SimpleDB of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon SimpleDB SimpleDB Domain?

For Terraform, the gauravgitdir/Jack, niveklabs/aws and alikhajeh1/infracost-gh-action-test source code examples are useful. See the Terraform Example section for further details.

For CloudFormation, the ilios/lti-server, stelligent/cfn_nag and gustcol/Canivete source code examples are useful. See the CloudFormation Example section for further details.