Class Default

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.regioninfo.Default
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:34.976Z") @Stability(Stable) public class Default extends software.amazon.jsii.JsiiObject
Provides default values for certain regional information points.
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is { "Ref": "AWS::Region" }).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Default(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Default(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    servicePrincipal(String serviceFqn, String region, String urlSuffix)
    Computes a "standard" AWS Service principal for a given service, region and suffix.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • VPC_ENDPOINT_SERVICE_NAME_PREFIX

      @Stability(Stable) public static final String VPC_ENDPOINT_SERVICE_NAME_PREFIX
      The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is { "Ref": "AWS::Region" }).
  • Constructor Details

    • Default

      protected Default(software.amazon.jsii.JsiiObjectRef objRef)
    • Default

      protected Default(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • servicePrincipal

      @Stability(Stable) @NotNull public static String servicePrincipal(@NotNull String serviceFqn, @NotNull String region, @NotNull String urlSuffix)
      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.

      Parameters:
      serviceFqn - the name of the service (s3, s3.amazonaws.com, ...). This parameter is required.
      region - the region in which the service principal is needed. This parameter is required.
      urlSuffix - deprecated and ignored. This parameter is required.