@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.266Z") @Stability(value=Stable) public interface CfnFunctionProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnFunctionProps cfnFunctionProps = CfnFunctionProps.builder()
.name("name")
// the properties below are optional
.autoPublish(false)
.functionCode("functionCode")
.functionConfig(FunctionConfigProperty.builder()
.comment("comment")
.runtime("runtime")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunctionProps.Builder
A builder for
CfnFunctionProps |
static class |
CfnFunctionProps.Jsii$Proxy
An implementation for
CfnFunctionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunctionProps.Builder |
builder() |
default Object |
getAutoPublish()
`AWS::CloudFront::Function.AutoPublish`.
|
default String |
getFunctionCode()
`AWS::CloudFront::Function.FunctionCode`.
|
default Object |
getFunctionConfig()
`AWS::CloudFront::Function.FunctionConfig`.
|
String |
getName()
`AWS::CloudFront::Function.Name`.
|
@Stability(value=Stable) @Nullable default Object getAutoPublish()
@Stability(value=Stable) @Nullable default String getFunctionCode()
@Stability(value=Stable) @Nullable default Object getFunctionConfig()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) static CfnFunctionProps.Builder builder()
CfnFunctionProps.Builder of CfnFunctionPropsCopyright © 2021. All rights reserved.