Consulta informações básicas sobre buckets do Object Storage Service (OSS).
Sintaxe
{
"Type": "DATASOURCE::OSS::Buckets",
"Properties": {
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da fonte de dados ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
BucketNames: nomes dos buckets.
Buckets: detalhes dos buckets.
|
Propriedade |
Tipo |
Descrição |
Restrição |
|
BucketNames |
List |
Nomes dos buckets. |
Nenhuma. |
|
Buckets |
List |
Detalhes dos buckets. |
Nenhuma. |
|
IntranetEndpoint |
String |
Endpoint interno para acessar o bucket a partir de uma instância do Elastic Compute Service (ECS) na mesma região. |
Nenhuma. |
|
Location |
String |
Região onde o bucket reside. |
Nenhuma. |
|
StorageClass |
String |
Classe de armazenamento do bucket. |
Nenhuma. |
|
Owner |
String |
Proprietário do bucket. |
Nenhuma. |
|
Name |
String |
Nome do bucket. |
Nenhuma. |
|
ExtranetEndpoint |
String |
Endpoint público para acessar o bucket pela Internet. |
Nenhuma. |
|
CreateTime |
String |
Horário de criação do bucket. |
Nenhuma. |
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Resources:
ExtensionDataSource:
Properties: {}
Type: DATASOURCE::OSS::Buckets
Outputs:
BucketNames:
Description: The list of bucket names.
Value:
Fn::GetAtt:
- ExtensionDataSource
- BucketNames
Buckets:
Description: The list of buckets.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Buckets
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::OSS::Buckets",
"Properties": {}
}
},
"Outputs": {
"BucketNames": {
"Description": "The list of bucket names.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"BucketNames"
]
}
},
"Buckets": {
"Description": "The list of buckets.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Buckets"
]
}
}
}
}