Interface CfnConnectionFunctionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:16.223Z")
@Stability(Stable)
public interface CfnConnectionFunctionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnConnectionFunction.
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.cloudfront.*;
CfnConnectionFunctionProps cfnConnectionFunctionProps = CfnConnectionFunctionProps.builder()
.connectionFunctionCode("connectionFunctionCode")
.connectionFunctionConfig(ConnectionFunctionConfigProperty.builder()
.comment("comment")
.runtime("runtime")
// the properties below are optional
.keyValueStoreAssociations(List.of(KeyValueStoreAssociationProperty.builder()
.keyValueStoreArn("keyValueStoreArn")
.build()))
.build())
.name("name")
// the properties below are optional
.autoPublish(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectionFunctionPropsstatic final classAn implementation forCfnConnectionFunctionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherBooleanorIResolvableReturns union: eitherIResolvableorCfnConnectionFunction.ConnectionFunctionConfigPropertygetName()getTags()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectionFunctionCode
- See Also:
-
getConnectionFunctionConfig
Returns union: eitherIResolvableorCfnConnectionFunction.ConnectionFunctionConfigProperty- See Also:
-
getName
- See Also:
-
getAutoPublish
- See Also:
-
getTags
- See Also:
-
builder
- Returns:
- a
CfnConnectionFunctionProps.BuilderofCfnConnectionFunctionProps
-