Documentation ¶
Index ¶
- func Default_ServicePrincipal(service *string, region *string, urlSuffix *string) *string
- func Default_VPC_ENDPOINT_SERVICE_NAME_PREFIX() *string
- func FactName_APPMESH_ECR_ACCOUNT() *string
- func FactName_CDK_METADATA_RESOURCE_AVAILABLE() *string
- func FactName_DLC_REPOSITORY_ACCOUNT() *string
- func FactName_DOMAIN_SUFFIX() *string
- func FactName_ELBV2_ACCOUNT() *string
- func FactName_PARTITION() *string
- func FactName_S3_STATIC_WEBSITE_ENDPOINT() *string
- func FactName_S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID() *string
- func FactName_ServicePrincipal(service *string) *string
- func FactName_VPC_ENDPOINT_SERVICE_NAME_PREFIX() *string
- func Fact_Find(region *string, name *string) *string
- func Fact_Regions() *[]*string
- func Fact_Register(fact IFact, allowReplacing *bool)
- func Fact_RequireFact(region *string, name *string) *string
- func Fact_Unregister(region *string, name *string, value *string)
- func NewFactName_Override(f FactName)
- func RegionInfo_RegionMap(factName *string) *map[string]*string
- func RegionInfo_Regions() *[]RegionInfo
- type Default
- type Fact
- type FactName
- type IFact
- type RegionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Default_ServicePrincipal ¶
Computes a "standard" AWS Service principal for a given service, region and suffix.
This is useful for example when you need to compute a service principal name, but you do not have a synthesize-time region literal available (so all you have is `{ "Ref": "AWS::Region" }`). This way you get the same defaulting behavior that is normally used for built-in data. Experimental.
func Default_VPC_ENDPOINT_SERVICE_NAME_PREFIX ¶
func Default_VPC_ENDPOINT_SERVICE_NAME_PREFIX() *string
func FactName_APPMESH_ECR_ACCOUNT ¶
func FactName_APPMESH_ECR_ACCOUNT() *string
func FactName_CDK_METADATA_RESOURCE_AVAILABLE ¶
func FactName_CDK_METADATA_RESOURCE_AVAILABLE() *string
func FactName_DLC_REPOSITORY_ACCOUNT ¶
func FactName_DLC_REPOSITORY_ACCOUNT() *string
func FactName_DOMAIN_SUFFIX ¶
func FactName_DOMAIN_SUFFIX() *string
func FactName_ELBV2_ACCOUNT ¶
func FactName_ELBV2_ACCOUNT() *string
func FactName_PARTITION ¶
func FactName_PARTITION() *string
func FactName_S3_STATIC_WEBSITE_ENDPOINT ¶
func FactName_S3_STATIC_WEBSITE_ENDPOINT() *string
func FactName_S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID ¶
func FactName_S3_STATIC_WEBSITE_ZONE_53_HOSTED_ZONE_ID() *string
func FactName_ServicePrincipal ¶
The name of the regional service principal for a given service. Experimental.
func FactName_VPC_ENDPOINT_SERVICE_NAME_PREFIX ¶
func FactName_VPC_ENDPOINT_SERVICE_NAME_PREFIX() *string
func Fact_Find ¶
Retrieves a fact from this Fact database.
Returns: the fact value if it is known, and `undefined` otherwise. Experimental.
func Fact_Regions ¶
func Fact_Regions() *[]*string
func Fact_Register ¶
Registers a new fact in this Fact database. Experimental.
func Fact_RequireFact ¶
Retrieve a fact from the Fact database.
(retrieval will fail if the specified region or fact name does not exist.) Experimental.
func Fact_Unregister ¶
Removes a fact from the database. Experimental.
func RegionInfo_RegionMap ¶
Retrieves a collection of all fact values for all regions that fact is defined in.
Returns: a mapping with AWS region codes as the keys, and the fact in the given region as the value for that key Experimental.
func RegionInfo_Regions ¶
func RegionInfo_Regions() *[]RegionInfo
Types ¶
type Default ¶
type Default interface { }
Provides default values for certain regional information points. Experimental.
type IFact ¶
type IFact interface { // The name of this fact. // // Standardized values are provided by the `Facts` class. // Experimental. Name() *string // The region for which this fact applies. // Experimental. Region() *string // The value of this fact. // Experimental. Value() *string }
A fact that can be registered about a particular region. Experimental.
type RegionInfo ¶
type RegionInfo interface { AppMeshRepositoryAccount() *string CdkMetadataResourceAvailable() *bool DlcRepositoryAccount() *string DomainSuffix() *string Elbv2Account() *string Name() *string Partition() *string S3StaticWebsiteEndpoint() *string S3StaticWebsiteHostedZoneId() *string VpcEndpointServiceNamePrefix() *string ServicePrincipal(service *string) *string }
Information pertaining to an AWS region. Experimental.
func RegionInfo_Get ¶
func RegionInfo_Get(name *string) RegionInfo
Obtain region info for a given region name. Experimental.