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:
IEnvironmentAware,IInspectable,ITaggableV2,ILinkRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:13.924Z")
@Stability(Stable)
public class CfnLink
extends CfnResource
implements IInspectable, ILinkRef, ITaggableV2
Resource Type definition for AWS::RTBFabric::Link 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.*;
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 interfaceExample:static interfaceExample:static final classA fluent builder forCfnLink.static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample:static interfaceExample: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.services.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) -
Method Summary
Modifier and TypeMethodDescriptionTag Manager which manages the tags for this resource.Returns union: eitherBooleanorIResolvableReturns union: eitherIResolvableorCfnLink.LinkAttributesPropertyReturns union: eitherIResolvableorCfnLink.LinkLogSettingsPropertyA reference to a Link resource.Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnLink.ModuleConfigurationProperty>getTags()Tags to assign to the Link.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetGatewayId(String value) voidsetHttpResponderAllowed(Boolean value) voidvoidsetLinkAttributes(IResolvable value) voidvoidsetLinkLogSettings(IResolvable value) voidvoidsetModuleConfigurationList(List<Object> value) voidvoidsetPeerGatewayId(String value) voidTags to assign to the Link.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.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) - 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
-
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
-
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
-
setGatewayId
-
getLinkLogSettings
Returns union: eitherIResolvableorCfnLink.LinkLogSettingsProperty -
setLinkLogSettings
-
setLinkLogSettings
-
getPeerGatewayId
-
setPeerGatewayId
-
getHttpResponderAllowed
Returns union: eitherBooleanorIResolvable -
setHttpResponderAllowed
-
setHttpResponderAllowed
-
getLinkAttributes
Returns union: eitherIResolvableorCfnLink.LinkAttributesProperty -
setLinkAttributes
-
setLinkAttributes
-
getModuleConfigurationList
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnLink.ModuleConfigurationProperty> -
setModuleConfigurationList
-
setModuleConfigurationList
-
getTags
Tags to assign to the Link. -
setTags
Tags to assign to the Link.
-