{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-location-hdfs-response-schema.json",
  "title": "DescribeLocationHdfsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-location-hdf-api-openapi.yml#/components/schemas/DescribeLocationHdfsResponse",
  "type": "object",
  "properties": {
    "LocationArn": {
      "type": "string",
      "description": "The ARN of the HDFS location."
    },
    "LocationUri": {
      "type": "string",
      "description": "The URI of the HDFS location."
    },
    "NameNodes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HdfsNameNode"
      },
      "description": "The NameNode that manages the HDFS namespace."
    },
    "BlockSize": {
      "type": "integer",
      "description": "The size of the data blocks to write into the HDFS cluster."
    },
    "ReplicationFactor": {
      "type": "integer",
      "description": "The number of DataNodes to replicate the data to when writing to the HDFS cluster."
    },
    "KmsKeyProviderUri": {
      "type": "string",
      "description": "The URI of the HDFS cluster's Key Management Server (KMS)."
    },
    "QopConfiguration": {
      "$ref": "#/$defs/QopConfiguration"
    },
    "AuthenticationType": {
      "type": "string",
      "enum": [
        "SIMPLE",
        "KERBEROS"
      ],
      "description": "The type of authentication used to determine the identity of the user."
    },
    "SimpleUser": {
      "type": "string",
      "description": "The user name to identify the client on the host operating system. This parameter is used if the AuthenticationType is defined as SIMPLE."
    },
    "KerberosPrincipal": {
      "type": "string",
      "description": "The Kerberos principal with access to the files and folders on the HDFS cluster. This parameter is used if the AuthenticationType is defined as KERBEROS."
    },
    "AgentArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARNs of the DataSync agents that can connect with your HDFS cluster."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the HDFS location was created."
    },
    "ManagedSecretConfig": {
      "$ref": "#/$defs/ManagedSecretConfig"
    },
    "CmkSecretConfig": {
      "$ref": "#/$defs/CmkSecretConfig"
    },
    "CustomSecretConfig": {
      "$ref": "#/$defs/CustomSecretConfig"
    }
  },
  "$defs": {
    "CmkSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn."
        },
        "KmsKeyArn": {
          "type": "string",
          "description": "Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn. DataSync provides this key to Secrets Manager."
        }
      }
    },
    "CustomSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        },
        "SecretAccessRoleArn": {
          "type": "string",
          "description": "Specifies the ARN for the Identity and Access Management role that DataSync uses to access the secret specified for SecretArn."
        }
      }
    },
    "HdfsNameNode": {
      "type": "object",
      "properties": {
        "Hostname": {
          "type": "string",
          "description": "The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network."
        },
        "Port": {
          "type": "integer",
          "description": "The port that the NameNode uses to listen to client requests."
        }
      },
      "required": [
        "Hostname",
        "Port"
      ]
    },
    "ManagedSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        }
      }
    },
    "QopConfiguration": {
      "type": "object",
      "properties": {
        "RpcProtection": {
          "type": "string",
          "enum": [
            "DISABLED",
            "AUTHENTICATION",
            "INTEGRITY",
            "PRIVACY"
          ],
          "description": "The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster."
        },
        "DataTransferProtection": {
          "type": "string",
          "enum": [
            "DISABLED",
            "AUTHENTICATION",
            "INTEGRITY",
            "PRIVACY"
          ],
          "description": "The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster."
        }
      }
    }
  }
}