/AWS1/CL_SDYINSTANCESUMMARY¶
A complex type that contains information about the instances that you registered by using a specified service.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_id
TYPE /AWS1/SDYRESOURCEID
/AWS1/SDYRESOURCEID
¶
The ID for an instance that you created by using a specified service.
it_attributes
TYPE /AWS1/CL_SDYATTRIBUTES_W=>TT_ATTRIBUTES
TT_ATTRIBUTES
¶
A string map that contains the following information:
The attributes that are associated with the instance.
For each attribute, the applicable value.
Supported attribute keys include the following:
- AWS_ALIAS_DNS_NAME
For an alias record that routes traffic to an Elastic Load Balancing load balancer, the DNS name that's associated with the load balancer.
- AWS_EC2_INSTANCE_ID (HTTP namespaces only)
The Amazon EC2 instance ID for the instance. When the
AWS_EC2_INSTANCE_ID
attribute is specified, then theAWS_INSTANCE_IPV4
attribute contains the primary private IPv4 address.- AWS_INIT_HEALTH_STATUS
If the service configuration includes
HealthCheckCustomConfig
, you can optionally useAWS_INIT_HEALTH_STATUS
to specify the initial status of the custom health check,HEALTHY
orUNHEALTHY
. If you don't specify a value forAWS_INIT_HEALTH_STATUS
, the initial status isHEALTHY
.- AWS_INSTANCE_CNAME
For a
CNAME
record, the domain name that Route 53 returns in response to DNS queries (for example,example.com
).- AWS_INSTANCE_IPV4
For an
A
record, the IPv4 address that Route 53 returns in response to DNS queries (for example,192.0.2.44
).- AWS_INSTANCE_IPV6
For an
AAAA
record, the IPv6 address that Route 53 returns in response to DNS queries (for example,2001:0db8:85a3:0000:0000:abcd:0001:2345
).- AWS_INSTANCE_PORT
For an
SRV
record, the value that Route 53 returns for the port. In addition, if the service includesHealthCheckConfig
, the port on the endpoint that Route 53 sends requests to.
iv_createdbyaccount
TYPE /AWS1/SDYAWSACCOUNTID
/AWS1/SDYAWSACCOUNTID
¶
The ID of the Amazon Web Services account that registered the instance. If this isn't your account ID, it's the ID of the account that shared the namespace with your account or the ID of another account with which the namespace has been shared. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
Queryable Attributes¶
Id¶
The ID for an instance that you created by using a specified service.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ID() |
Getter for ID, with configurable default |
ASK_ID() |
Getter for ID w/ exceptions if field has no value |
HAS_ID() |
Determine if ID has a value |
Attributes¶
A string map that contains the following information:
The attributes that are associated with the instance.
For each attribute, the applicable value.
Supported attribute keys include the following:
- AWS_ALIAS_DNS_NAME
For an alias record that routes traffic to an Elastic Load Balancing load balancer, the DNS name that's associated with the load balancer.
- AWS_EC2_INSTANCE_ID (HTTP namespaces only)
The Amazon EC2 instance ID for the instance. When the
AWS_EC2_INSTANCE_ID
attribute is specified, then theAWS_INSTANCE_IPV4
attribute contains the primary private IPv4 address.- AWS_INIT_HEALTH_STATUS
If the service configuration includes
HealthCheckCustomConfig
, you can optionally useAWS_INIT_HEALTH_STATUS
to specify the initial status of the custom health check,HEALTHY
orUNHEALTHY
. If you don't specify a value forAWS_INIT_HEALTH_STATUS
, the initial status isHEALTHY
.- AWS_INSTANCE_CNAME
For a
CNAME
record, the domain name that Route 53 returns in response to DNS queries (for example,example.com
).- AWS_INSTANCE_IPV4
For an
A
record, the IPv4 address that Route 53 returns in response to DNS queries (for example,192.0.2.44
).- AWS_INSTANCE_IPV6
For an
AAAA
record, the IPv6 address that Route 53 returns in response to DNS queries (for example,2001:0db8:85a3:0000:0000:abcd:0001:2345
).- AWS_INSTANCE_PORT
For an
SRV
record, the value that Route 53 returns for the port. In addition, if the service includesHealthCheckConfig
, the port on the endpoint that Route 53 sends requests to.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ATTRIBUTES() |
Getter for ATTRIBUTES, with configurable default |
ASK_ATTRIBUTES() |
Getter for ATTRIBUTES w/ exceptions if field has no value |
HAS_ATTRIBUTES() |
Determine if ATTRIBUTES has a value |
CreatedByAccount¶
The ID of the Amazon Web Services account that registered the instance. If this isn't your account ID, it's the ID of the account that shared the namespace with your account or the ID of another account with which the namespace has been shared. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CREATEDBYACCOUNT() |
Getter for CREATEDBYACCOUNT, with configurable default |
ASK_CREATEDBYACCOUNT() |
Getter for CREATEDBYACCOUNT w/ exceptions if field has no va |
HAS_CREATEDBYACCOUNT() |
Determine if CREATEDBYACCOUNT has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_INSTANCESUMMARYLIST
¶
TYPES TT_INSTANCESUMMARYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SDYINSTANCESUMMARY WITH DEFAULT KEY
.