すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::OOS::SecretParameter

最終更新日:Jan 16, 2025

ALIYUN::OOS::SecretParameter は、暗号化パラメーターを作成するために使用されます。

構文

{
  "Type": "ALIYUN::OOS::SecretParameter",
  "Properties": {
    "Description": String,
    "Constraints": Map,
    "ResourceGroupId": String,
    "SecretParameterName": String,
    "Value": String,
    "KeyId": String,
    "Tags": List
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Description

String

いいえ

はい

パラメーターの説明。

説明は最大 200 文字です。

Constraints

Map

いいえ

いいえ

パラメーターの制約。

有効な値:

  • AllowedValues: パラメーターに指定できる値。値は配列文字列である必要があります。

  • AllowedPattern: パラメーターに指定できるパターン。パターンは正規表現である必要があります。

  • MinLength: パラメーター値の最小長。

  • MaxLength: パラメーター値の最大長。

ResourceGroupId

String

いいえ

はい

パラメーターが属するリソースグループの ID。

なし。

SecretParameterName

String

はい

いいえ

パラメーターの名前。

名前は最大 180 文字で、文字、数字、ハイフン(-)、アンダースコア(_)を含めることができます。名前は ALIYUNACSALIBABAALICLOUD、または OOS で始めることはできません。

Value

String

はい

はい

パラメーターの値。

値は最大 4,096 文字です。

KeyId

String

いいえ

いいえ

パラメーターの暗号化に使用する Key Management Service (KMS) キーの ID。

なし。

Tags

List

いいえ

はい

パラメーターのタグ。

最大 20 個のタグを追加できます。

詳細については、タグのプロパティ をご参照ください。

タグの構文

"Tags": [
  {
    "Value": String,
    "Key": String
  }
]

タグのプロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Value

String

いいえ

いいえ

タグの値。

タグ値は最大 128 文字で、http:// または https:// を含めることはできません。タグ値は aliyun または acs: で始めることはできません。

Key

String

はい

いいえ

タグのキー。

タグキーは 1 ~ 128 文字で、http:// または https:// を含めることはできません。タグキーは aliyun または acs: で始めることはできません。

戻り値

Fn::GetAtt

  • Description: パラメーターの説明

  • CreatedBy: パラメーターを作成したユーザー。

  • ResourceGroupId: パラメーターが属するリソースグループの ID。

  • SecretParameterName: パラメーターの名前。

  • UpdatedDate: パラメーターが更新された時刻。

  • CreateTime: パラメーターが作成された時刻。

  • KeyId: パラメーターの暗号化に使用される KMS キーの ID。

  • SecretParameterId: パラメーターの ID。

  • UpdatedBy: パラメーターを更新したユーザー。

  • Type: パラメーターのタイプ。

  • Constraint: パラメーターの制約。

  • ParameterVersion: パラメーターのバージョン。

  • Tags: パラメーターのタグ。

  • ShareType: パラメーターの共有タイプ。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters: {}
    Resources:
      ExtensionResource:
        Type: ALIYUN::OOS::SecretParameter
        Properties:
          Constraints: '{"AllowedValues":["secretparameter"],"AllowedPattern":"secretparameter","MinLength":0,"MaxLength":20}'
          SecretParameterName: MySecretParameter
          Value: SecretParameter
          KeyId: 80e9409f-78fa-42ab-84bd-83f40c******
    Outputs:
      Description:
        Description: 暗号化パラメーターの説明。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Description
      CreatedBy:
        Description: 暗号化パラメーターを作成したユーザー。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - CreatedBy
      ResourceGroupId:
        Description: リソースグループ ID。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ResourceGroupId
      SecretParameterName:
        Description: 暗号化パラメーターの名前。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - SecretParameterName
      UpdatedDate:
        Description: 暗号化パラメーターが更新された時刻。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - UpdatedDate
      CreateTime:
        Description: 暗号化パラメーターが作成された時刻。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - CreateTime
      KeyId:
        Description: パラメーターの暗号化に使用される Key Management Service (KMS) のカスタマーマスターキー (CMK)。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - KeyId
      SecretParameterId:
        Description: 暗号化パラメーターの ID。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - SecretParameterId
      UpdatedBy:
        Description: 暗号化パラメーターを更新したユーザー。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - UpdatedBy
      Type:
        Description: 暗号化パラメーターのデータ型。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Type
      Constraints:
        Description: 暗号化パラメーターの制約。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Constraints
      ParameterVersion:
        Description: 暗号化パラメーターのバージョン番号。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ParameterVersion
      Tags:
        Description: 暗号化パラメーターのタグ。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Tags
      ShareType:
        Description: 暗号化パラメーターの共有タイプ。
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ShareType
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::OOS::SecretParameter",
          "Properties": {
            "Constraints": "{\"AllowedValues\":[\"secretparameter\"],\"AllowedPattern\":\"secretparameter\",\"MinLength\":0,\"MaxLength\":20}",
            "SecretParameterName": "MySecretParameter",
            "Value": "SecretParameter",
            "KeyId": "80e9409f-78fa-42ab-84bd-83f40c******"
          }
        }
      },
      "Outputs": {
        "Description": {
          "Description": "暗号化パラメーターの説明。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Description"
            ]
          }
        },
        "CreatedBy": {
          "Description": "暗号化パラメーターを作成したユーザー。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CreatedBy"
            ]
          }
        },
        "ResourceGroupId": {
          "Description": "リソースグループ ID。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ResourceGroupId"
            ]
          }
        },
        "SecretParameterName": {
          "Description": "暗号化パラメーターの名前。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SecretParameterName"
            ]
          }
        },
        "UpdatedDate": {
          "Description": "暗号化パラメーターが更新された時刻。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "UpdatedDate"
            ]
          }
        },
        "CreateTime": {
          "Description": "暗号化パラメーターが作成された時刻。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CreateTime"
            ]
          }
        },
        "KeyId": {
          "Description": "パラメーターの暗号化に使用される Key Management Service (KMS) のカスタマーマスターキー (CMK)。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "KeyId"
            ]
          }
        },
        "SecretParameterId": {
          "Description": "暗号化パラメーターの ID。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SecretParameterId"
            ]
          }
        },
        "UpdatedBy": {
          "Description": "暗号化パラメーターを更新したユーザー。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "UpdatedBy"
            ]
          }
        },
        "Type": {
          "Description": "暗号化パラメーターのデータ型。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Type"
            ]
          }
        },
        "Constraints": {
          "Description": "暗号化パラメーターの制約。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Constraints"
            ]
          }
        },
        "ParameterVersion": {
          "Description": "暗号化パラメーターのバージョン番号。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ParameterVersion"
            ]
          }
        },
        "Tags": {
          "Description": "暗号化パラメーターのタグ。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Tags"
            ]
          }
        },
        "ShareType": {
          "Description": "暗号化パラメーターの共有タイプ。",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ShareType"
            ]
          }
        }
      }
    }