Class CfnOutboundExternalLink

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.rtbfabric.CfnOutboundExternalLink
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IOutboundExternalLinkRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-12-01T16:02:28.584Z") @Stability(Stable) public class CfnOutboundExternalLink extends CfnResource implements IInspectable, IOutboundExternalLinkRef, ITaggableV2
Resource Type definition for AWS::RTBFabric::OutboundExternalLink Resource Type.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.rtbfabric.*;
 CfnOutboundExternalLink cfnOutboundExternalLink = CfnOutboundExternalLink.Builder.create(this, "MyCfnOutboundExternalLink")
         .gatewayId("gatewayId")
         .linkLogSettings(LinkLogSettingsProperty.builder()
                 .applicationLogs(ApplicationLogsProperty.builder()
                         .linkApplicationLogSampling(LinkApplicationLogSamplingProperty.builder()
                                 .errorLog(123)
                                 .filterLog(123)
                                 .build())
                         .build())
                 .build())
         .publicEndpoint("publicEndpoint")
         // the properties below are optional
         .linkAttributes(LinkAttributesProperty.builder()
                 .customerProvidedId("customerProvidedId")
                 .responderErrorMasking(List.of(ResponderErrorMaskingForHttpCodeProperty.builder()
                         .action("action")
                         .httpCode("httpCode")
                         .loggingTypes(List.of("loggingTypes"))
                         // the properties below are optional
                         .responseLoggingPercentage(123)
                         .build()))
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnOutboundExternalLink

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

      protected CfnOutboundExternalLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnOutboundExternalLink

      @Stability(Stable) public CfnOutboundExternalLink(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOutboundExternalLinkProps props)
      Create a new AWS::RTBFabric::OutboundExternalLink.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForOutboundExternalLink

      @Stability(Stable) @NotNull public static String arnForOutboundExternalLink(@NotNull IOutboundExternalLinkRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnOutboundExternalLink

      @Stability(Stable) @NotNull public static Boolean isCfnOutboundExternalLink(@NotNull Object x)
      Checks whether the given object is a CfnOutboundExternalLink.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrCreatedTimestamp

      @Stability(Stable) @NotNull public String getAttrCreatedTimestamp()
    • getAttrLinkId

      @Stability(Stable) @NotNull public String getAttrLinkId()
    • getAttrLinkStatus

      @Stability(Stable) @NotNull public String getAttrLinkStatus()
    • getAttrUpdatedTimestamp

      @Stability(Stable) @NotNull public String getAttrUpdatedTimestamp()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getOutboundExternalLinkRef

      @Stability(Stable) @NotNull public OutboundExternalLinkReference getOutboundExternalLinkRef()
      A reference to a OutboundExternalLink resource.
      Specified by:
      getOutboundExternalLinkRef in interface IOutboundExternalLinkRef
    • getGatewayId

      @Stability(Stable) @NotNull public String getGatewayId()
    • setGatewayId

      @Stability(Stable) public void setGatewayId(@NotNull String value)
    • getLinkLogSettings

      @Stability(Stable) @NotNull public Object getLinkLogSettings()
    • setLinkLogSettings

      @Stability(Stable) public void setLinkLogSettings(@NotNull IResolvable value)
    • setLinkLogSettings

      @Stability(Stable) public void setLinkLogSettings(@NotNull CfnOutboundExternalLink.LinkLogSettingsProperty value)
    • getPublicEndpoint

      @Stability(Stable) @NotNull public String getPublicEndpoint()
    • setPublicEndpoint

      @Stability(Stable) public void setPublicEndpoint(@NotNull String value)
    • getLinkAttributes

      @Stability(Stable) @Nullable public Object getLinkAttributes()
    • setLinkAttributes

      @Stability(Stable) public void setLinkAttributes(@Nullable IResolvable value)
    • setLinkAttributes

      @Stability(Stable) public void setLinkAttributes(@Nullable CfnOutboundExternalLink.LinkAttributesProperty value)
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags to assign to the Link.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags to assign to the Link.