DATASOURCE::SLB::TLSPolicies is used to query Transport Layer Security (TLS) policies.

Syntax

{
  "Type": "DATASOURCE::SLB::TLSPolicies",
  "Properties": {
    "TLSPolicyName": String,
    "InstanceId": String
  }
}

Properties

PropertyTypeRequiredEditableDescriptionConstraint
TLSPolicyNameStringNoYesThe name of the TLS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
InstanceIdStringYesYesThe ID of the TLS policy. None.

Return values

Fn::GetAtt

  • TLSPolicies: details of the TLS policies.
  • InstanceIds: the IDs of the TLS policies.
PropertyTypeDescriptionConstraint
InstanceIdsListThe IDs of the TSL policies. None.
TLSPoliciesListDetails of the TLS policies. None.
StatusStringThe state of the TLS policy. Valid values:
  • configuring: The TLS policy is being configured.
  • normal: The TLS policy works as expected.
TlsVersionsListThe version of the TLS protocol. Example:
[ "TLSv1.0" ]
TLSPolicyNameStringThe name of the TLS policy. None.
InstanceIdStringThe ID of the TLS policy. None.
CiphersListThe cipher suites supported. Example:
[ "ECDHE-ECDSA-AES128-SHA" ]
CreateTimeStringThe time when the TLS policy was created. None.

Examples

  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      InstanceId:
        Description: The ID of the TLS policy.
        Type: String
    Resources:
      ExtensionDataSource:
        Properties:
          InstanceId:
            Ref: InstanceId
        Type: DATASOURCE::SLB::TLSPolicies
    Outputs:
      InstanceIds:
        Description: The list of instance IDs.
        Value:
          Fn::GetAtt:
          - ExtensionDataSource
          - InstanceIds
      TLSPolicies:
        Description: The list of tls policies.
        Value:
          Fn::GetAtt:
          - ExtensionDataSource
          - TLSPolicies
  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "InstanceId": {
          "Type": "String",
          "Description": "The ID of the TLS policy."
        }
      },
      "Resources": {
        "ExtensionDataSource": {
          "Type": "DATASOURCE::SLB::TLSPolicies",
          "Properties": {
            "InstanceId": {
              "Ref": "InstanceId"
            }
          }
        }
      },
      "Outputs": {
        "TLSPolicies": {
          "Description": "The list of tls policies.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "TLSPolicies"
            ]
          }
        },
        "InstanceIds": {
          "Description": "The list of instance IDs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "InstanceIds"
            ]
          }
        }
      }
    }