Class CfnLink
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.CfnLink
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ILinkRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:16.988Z")
@Stability(Stable)
public class CfnLink
extends CfnResource
implements IInspectable, ILinkRef, ITaggableV2
Creates a new link between gateways.
Establishes a connection that allows gateways to communicate and exchange bid requests and responses.
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.*;
CfnLink cfnLink = CfnLink.Builder.create(this, "MyCfnLink")
.gatewayId("gatewayId")
.linkLogSettings(LinkLogSettingsProperty.builder()
.applicationLogs(ApplicationLogsProperty.builder()
.linkApplicationLogSampling(LinkApplicationLogSamplingProperty.builder()
.errorLog(123)
.filterLog(123)
.build())
.build())
.build())
.peerGatewayId("peerGatewayId")
// the properties below are optional
.httpResponderAllowed(false)
.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())
.moduleConfigurationList(List.of(ModuleConfigurationProperty.builder()
.name("name")
// the properties below are optional
.dependsOn(List.of("dependsOn"))
.moduleParameters(ModuleParametersProperty.builder()
.noBid(NoBidModuleParametersProperty.builder()
.passThroughPercentage(123)
.reason("reason")
.reasonCode(123)
.build())
.openRtbAttribute(OpenRtbAttributeModuleParametersProperty.builder()
.action(ActionProperty.builder()
.headerTag(HeaderTagActionProperty.builder()
.name("name")
.value("value")
.build())
.noBid(NoBidActionProperty.builder()
.noBidReasonCode(123)
.build())
.build())
.filterConfiguration(List.of(FilterProperty.builder()
.criteria(List.of(FilterCriterionProperty.builder()
.path("path")
.values(List.of("values"))
.build()))
.build()))
.filterType("filterType")
.holdbackPercentage(123)
.build())
.build())
.version("version")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes a bid action.static interfaceDescribes the configuration of a link application log.static final classA fluent builder forCfnLink.static interfaceDescribes the criteria for a filter.static interfaceDescribes the configuration of a filter.static interfaceDescribes the header tag for a bid action.static interfaceDescribes a link application log sample.static interfaceDescribes the attributes of a link.static interfaceDescribes the settings for a link log.static interfaceDescribes the configuration of a module.static interfaceDescribes the parameters of a module.static interfaceDescribes a no bid action.static interfaceDescribes the parameters of a no bid module.static interfaceDescribes the parameters of an open RTB attribute module.static interfaceDescribes the masking for HTTP error codes.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.rtbfabric.ILinkRef
ILinkRef.Jsii$Default, ILinkRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLink(software.amazon.jsii.JsiiObjectRef objRef) CfnLink(software.constructs.Construct scope, String id, CfnLinkProps props) Create a newAWS::RTBFabric::Link. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForLink(ILinkRef resource) The unique identifier of the link.Tag Manager which manages the tags for this resource.The unique identifier of the gateway.Boolean to specify if an HTTP responder is allowed.Attributes of the link.Settings for the application logs.A reference to a Link resource.Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnLink.ModuleConfigurationProperty>The unique identifier of the peer gateway.getTags()A map of the key-value pairs of the tag or tags to assign to the resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnLink.renderProperties(Map<String, Object> props) voidsetGatewayId(String value) The unique identifier of the gateway.voidsetHttpResponderAllowed(Boolean value) Boolean to specify if an HTTP responder is allowed.voidBoolean to specify if an HTTP responder is allowed.voidsetLinkAttributes(IResolvable value) Attributes of the link.voidAttributes of the link.voidsetLinkLogSettings(IResolvable value) Settings for the application logs.voidSettings for the application logs.voidsetModuleConfigurationList(List<Object> value) voidvoidsetPeerGatewayId(String value) The unique identifier of the peer gateway.voidA map of the key-value pairs of the tag or tags to assign to the resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLink
protected CfnLink(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLink
protected CfnLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLink
@Stability(Stable) public CfnLink(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLinkProps props) Create a newAWS::RTBFabric::Link.- 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
-
arnForLink
- Parameters:
resource- This parameter is required.
-
isCfnLink
Checks whether the given object is a CfnLink.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
-
getAttrCreatedTimestamp
-
getAttrLinkDirection
-
getAttrLinkId
The unique identifier of the link. -
getAttrLinkStatus
-
getAttrUpdatedTimestamp
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLinkRef
A reference to a Link resource.- Specified by:
getLinkRefin interfaceILinkRef
-
getGatewayId
The unique identifier of the gateway. -
setGatewayId
The unique identifier of the gateway. -
getLinkLogSettings
Settings for the application logs.Returns union: either
IResolvableorCfnLink.LinkLogSettingsProperty -
setLinkLogSettings
Settings for the application logs. -
setLinkLogSettings
Settings for the application logs. -
getPeerGatewayId
The unique identifier of the peer gateway. -
setPeerGatewayId
The unique identifier of the peer gateway. -
getHttpResponderAllowed
Boolean to specify if an HTTP responder is allowed.Returns union: either
BooleanorIResolvable -
setHttpResponderAllowed
Boolean to specify if an HTTP responder is allowed. -
setHttpResponderAllowed
Boolean to specify if an HTTP responder is allowed. -
getLinkAttributes
Attributes of the link.Returns union: either
IResolvableorCfnLink.LinkAttributesProperty -
setLinkAttributes
Attributes of the link. -
setLinkAttributes
Attributes of the link. -
getModuleConfigurationList
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnLink.ModuleConfigurationProperty> -
setModuleConfigurationList
-
setModuleConfigurationList
-
getTags
A map of the key-value pairs of the tag or tags to assign to the resource. -
setTags
A map of the key-value pairs of the tag or tags to assign to the resource.
-