Seleccione sus preferencias de cookies

Usamos cookies esenciales y herramientas similares que son necesarias para proporcionar nuestro sitio y nuestros servicios. Usamos cookies de rendimiento para recopilar estadísticas anónimas para que podamos entender cómo los clientes usan nuestro sitio y hacer mejoras. Las cookies esenciales no se pueden desactivar, pero puede hacer clic en “Personalizar” o “Rechazar” para rechazar las cookies de rendimiento.

Si está de acuerdo, AWS y los terceros aprobados también utilizarán cookies para proporcionar características útiles del sitio, recordar sus preferencias y mostrar contenido relevante, incluida publicidad relevante. Para aceptar o rechazar todas las cookies no esenciales, haga clic en “Aceptar” o “Rechazar”. Para elegir opciones más detalladas, haga clic en “Personalizar”.

AWS::NetworkManager::Site

Modo de enfoque
AWS::NetworkManager::Site - AWS CloudFormation
Esta página no se ha traducido a su idioma. Solicitar traducción
Filtrar vista

Creates a new site in a global network.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::NetworkManager::Site", "Properties" : { "Description" : String, "GlobalNetworkId" : String, "Location" : Location, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::NetworkManager::Site Properties: Description: String GlobalNetworkId: String Location: Location Tags: - Tag

Properties

Description

A description of your site.

Constraints: Maximum length of 256 characters.

Required: No

Type: String

Pattern: [\s\S]*

Minimum: 0

Maximum: 256

Update requires: No interruption

GlobalNetworkId

The ID of the global network.

Required: Yes

Type: String

Pattern: [\s\S]*

Minimum: 0

Maximum: 50

Update requires: Replacement

Location

The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

  • Address: The physical address of the site.

  • Latitude: The latitude of the site.

  • Longitude: The longitude of the site.

Required: No

Type: Location

Update requires: No interruption

Tags

The tags for the site.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the IDs of the global network and the site. For example: global-network-01231231231231231|site-444555aaabbb11223.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

CreatedAt

The time that the site was created.

SiteArn

The ARN of the site. For example, arn:aws:networkmanager::123456789012:site/global-network-01231231231231231/site-444555aaabbb11223.

SiteId

The ID of the site. For example, site-444555aaabbb11223.

State

The current state of the site.

Examples

Site

The following example creates a site in a global network.

JSON

{ "Type": "AWS::NetworkManager::Site", "Properties": { "Description": "Chicago office", "GlobalNetworkId": { "Ref": "GlobalNetwork" }, "Location": { "Address": "227 W Monroe St, Chicago, IL 60606", "Latitude": "41.880520", "Longitude": "-87.634720" }, "Tags": [ { "Key": "Network", "Value": "north-america" } ] } }

YAML

Type: AWS::NetworkManager::Site Properties: Description: "Chicago office" GlobalNetworkId: !Ref GlobalNetwork Location: Address: "227 W Monroe St, Chicago, IL 60606" Latitude: "41.880520" Longitude: "-87.634720" Tags: - Key: Network Value: north-america

En esta página

PrivacidadTérminos del sitioPreferencias de cookies
© 2025, Amazon Web Services, Inc o sus afiliados. Todos los derechos reservados.