DATASOURCE::SLB::TLSPolicies is used to query Transport Layer Security (TLS) policies.
Syntax
{
"Type": "DATASOURCE::SLB::TLSPolicies",
"Properties": {
"TLSPolicyName": String,
"InstanceId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
TLSPolicyName | String | No | Yes | The 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. |
InstanceId | String | Yes | Yes | The ID of the TLS policy. | None. |
Return values
Fn::GetAtt
- TLSPolicies: details of the TLS policies.
- InstanceIds: the IDs of the TLS policies.
Property | Type | Description | Constraint |
---|---|---|---|
InstanceIds | List | The IDs of the TSL policies. | None. |
TLSPolicies | List | Details of the TLS policies. | None. |
Status | String | The state of the TLS policy. | Valid values:
|
TlsVersions | List | The version of the TLS protocol. | Example:
|
TLSPolicyName | String | The name of the TLS policy. | None. |
InstanceId | String | The ID of the TLS policy. | None. |
Ciphers | List | The cipher suites supported. | Example:
|
CreateTime | String | The time when the TLS policy was created. | None. |
Examples
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" ] } } } }