class aws_cdk.region_info.Default(*args: Any, **kwargs)

Bases: object

Provides default values for certain regional information points.



Static Methods

classmethod service_principal(service_fqn, region, url_suffix)

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.

  • service_fqn (str) – the name of the service (s3,, …).

  • region (str) – the region in which the service principal is needed.

  • url_suffix (str) – deprecated and ignored.

Return type: