This is the IcsMeta common library. |
list of weak references to the object (if defined)
Download configuration files from S3
Parameters: | pattern (string) – regrex expression to match |
---|---|
Return type: | string |
Returns: | the local path where downloaded files stored |
Download scripts from S3
Parameters: | pattern (string) – regrex expression to match |
---|---|
Return type: | string |
Returns: | the local path where downloaded files stored |
Get the Config Bucket from instance user-data
Return type: | string |
---|---|
Returns: | the Config Bucket name |
Get AWS credentials from instance user-data
Return type: | dict |
---|---|
Returns: | AWS credentials as a dictionary |
Get the DnsName from instance tags
Return type: | string |
---|---|
Returns: | the DnsName |
Get the EIP list from instance tags
Return type: | list |
---|---|
Returns: | the list contains EIP addresses |
Get the instance id from instance meta-data
Return type: | string |
---|---|
Returns: | the instance id |
Get the Instance name from instance tags
Return type: | string |
---|---|
Returns: | the Instance name |
Get the instance tags
Return type: | string |
---|---|
Returns: | the tags of this instance |
Get instance meta data
Parameters: | |
---|---|
Return type: | dict |
Returns: | instance meta data as a dictionary |
Get the openssh public key from instance meta-data
Return type: | string |
---|---|
Returns: | the contents of openssh public key |
Get the private ip address from instance meta-data
Return type: | string |
---|---|
Returns: | the private ip address |
Get the public hostname from instance meta-data
Return type: | string |
---|---|
Returns: | the public hostname |
Get the public ip address from instance meta-data
Return type: | string |
---|---|
Returns: | the public ip address |
Get the region from instance meta-data
Return type: | string |
---|---|
Returns: | the region name |
Get the Role name from instance tags
Return type: | string |
---|---|
Returns: | the Role name |
Get the S3 url for import scripts from instance user-data
Return type: | string |
---|---|
Returns: | the s3 url for scripts |
Get the SNS Topic from instance user-data
Return type: | string |
---|---|
Returns: | the SNS Topic name |
Get instance user data
Parameters: | |
---|---|
Return type: | dict |
Returns: | instance user data as a dictionary |
Get the availability zone from instance meta-data
Return type: | string |
---|---|
Returns: | the availability zone name |
Intialize ICS Alert
Parameters: | prefix (str) – prefix string to indicate which process |
---|---|
Return type: | class |
Returns: | the instance of initialized IcsAlert class |