1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. networkmanager
  5. getSite

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.networkmanager.getSite

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    The AWS::NetworkManager::Site type describes a site.

    Using getSite

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSite(args: GetSiteArgs, opts?: InvokeOptions): Promise<GetSiteResult>
    function getSiteOutput(args: GetSiteOutputArgs, opts?: InvokeOptions): Output<GetSiteResult>
    def get_site(global_network_id: Optional[str] = None,
                 site_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetSiteResult
    def get_site_output(global_network_id: Optional[pulumi.Input[str]] = None,
                 site_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetSiteResult]
    func LookupSite(ctx *Context, args *LookupSiteArgs, opts ...InvokeOption) (*LookupSiteResult, error)
    func LookupSiteOutput(ctx *Context, args *LookupSiteOutputArgs, opts ...InvokeOption) LookupSiteResultOutput

    > Note: This function is named LookupSite in the Go SDK.

    public static class GetSite 
    {
        public static Task<GetSiteResult> InvokeAsync(GetSiteArgs args, InvokeOptions? opts = null)
        public static Output<GetSiteResult> Invoke(GetSiteInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSiteResult> getSite(GetSiteArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:networkmanager:getSite
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GlobalNetworkId string
    The ID of the global network.
    SiteId string
    The ID of the site.
    GlobalNetworkId string
    The ID of the global network.
    SiteId string
    The ID of the site.
    globalNetworkId String
    The ID of the global network.
    siteId String
    The ID of the site.
    globalNetworkId string
    The ID of the global network.
    siteId string
    The ID of the site.
    global_network_id str
    The ID of the global network.
    site_id str
    The ID of the site.
    globalNetworkId String
    The ID of the global network.
    siteId String
    The ID of the site.

    getSite Result

    The following output properties are available:

    CreatedAt string
    The date and time that the device was created.
    Description string
    The description of the site.
    Location Pulumi.AwsNative.NetworkManager.Outputs.SiteLocation
    The location of the site.
    SiteArn string
    The Amazon Resource Name (ARN) of the site.
    SiteId string
    The ID of the site.
    State string
    The state of the site.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the site.
    CreatedAt string
    The date and time that the device was created.
    Description string
    The description of the site.
    Location SiteLocation
    The location of the site.
    SiteArn string
    The Amazon Resource Name (ARN) of the site.
    SiteId string
    The ID of the site.
    State string
    The state of the site.
    Tags Tag
    The tags for the site.
    createdAt String
    The date and time that the device was created.
    description String
    The description of the site.
    location SiteLocation
    The location of the site.
    siteArn String
    The Amazon Resource Name (ARN) of the site.
    siteId String
    The ID of the site.
    state String
    The state of the site.
    tags List<Tag>
    The tags for the site.
    createdAt string
    The date and time that the device was created.
    description string
    The description of the site.
    location SiteLocation
    The location of the site.
    siteArn string
    The Amazon Resource Name (ARN) of the site.
    siteId string
    The ID of the site.
    state string
    The state of the site.
    tags Tag[]
    The tags for the site.
    created_at str
    The date and time that the device was created.
    description str
    The description of the site.
    location SiteLocation
    The location of the site.
    site_arn str
    The Amazon Resource Name (ARN) of the site.
    site_id str
    The ID of the site.
    state str
    The state of the site.
    tags Sequence[root_Tag]
    The tags for the site.
    createdAt String
    The date and time that the device was created.
    description String
    The description of the site.
    location Property Map
    The location of the site.
    siteArn String
    The Amazon Resource Name (ARN) of the site.
    siteId String
    The ID of the site.
    state String
    The state of the site.
    tags List<Property Map>
    The tags for the site.

    Supporting Types

    SiteLocation

    Address string
    The physical address.
    Latitude string
    The latitude.
    Longitude string
    The longitude.
    Address string
    The physical address.
    Latitude string
    The latitude.
    Longitude string
    The longitude.
    address String
    The physical address.
    latitude String
    The latitude.
    longitude String
    The longitude.
    address string
    The physical address.
    latitude string
    The latitude.
    longitude string
    The longitude.
    address str
    The physical address.
    latitude str
    The latitude.
    longitude str
    The longitude.
    address String
    The physical address.
    latitude String
    The latitude.
    longitude String
    The longitude.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi