@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.255Z") @Stability(value=Stable) public class CfnFunction extends CfnResource implements IInspectable
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Modifier and Type | Field and Description |
---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
static String |
REQUIRED_TRANSFORM
The `Transform` a template must use in order to use this resource.
|
Modifier | Constructor and Description |
---|---|
|
CfnFunction(software.constructs.Construct scope,
String id,
CfnFunctionProps props)
Create a new `AWS::Serverless::Function`.
|
protected |
CfnFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFunction(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
String |
getAutoPublishAlias()
`AWS::Serverless::Function.AutoPublishAlias`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getCodeUri()
`AWS::Serverless::Function.CodeUri`.
|
Object |
getDeadLetterQueue()
`AWS::Serverless::Function.DeadLetterQueue`.
|
Object |
getDeploymentPreference()
`AWS::Serverless::Function.DeploymentPreference`.
|
String |
getDescription()
`AWS::Serverless::Function.Description`.
|
Object |
getEnvironment()
`AWS::Serverless::Function.Environment`.
|
Object |
getEvents()
`AWS::Serverless::Function.Events`.
|
Object |
getFileSystemConfigs()
`AWS::Serverless::Function.FileSystemConfigs`.
|
String |
getFunctionName()
`AWS::Serverless::Function.FunctionName`.
|
String |
getHandler()
`AWS::Serverless::Function.Handler`.
|
String |
getKmsKeyArn()
`AWS::Serverless::Function.KmsKeyArn`.
|
List<String> |
getLayers()
`AWS::Serverless::Function.Layers`.
|
Number |
getMemorySize()
`AWS::Serverless::Function.MemorySize`.
|
String |
getPermissionsBoundary()
`AWS::Serverless::Function.PermissionsBoundary`.
|
Object |
getPolicies()
`AWS::Serverless::Function.Policies`.
|
Object |
getProvisionedConcurrencyConfig()
`AWS::Serverless::Function.ProvisionedConcurrencyConfig`.
|
Number |
getReservedConcurrentExecutions()
`AWS::Serverless::Function.ReservedConcurrentExecutions`.
|
String |
getRole()
`AWS::Serverless::Function.Role`.
|
String |
getRuntime()
`AWS::Serverless::Function.Runtime`.
|
TagManager |
getTags()
`AWS::Serverless::Function.Tags`.
|
Number |
getTimeout()
`AWS::Serverless::Function.Timeout`.
|
String |
getTracing()
`AWS::Serverless::Function.Tracing`.
|
Object |
getVpcConfig()
`AWS::Serverless::Function.VpcConfig`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAutoPublishAlias(String value)
`AWS::Serverless::Function.AutoPublishAlias`.
|
void |
setCodeUri(CfnFunction.S3LocationProperty value)
`AWS::Serverless::Function.CodeUri`.
|
void |
setCodeUri(IResolvable value)
`AWS::Serverless::Function.CodeUri`.
|
void |
setCodeUri(String value)
`AWS::Serverless::Function.CodeUri`.
|
void |
setDeadLetterQueue(CfnFunction.DeadLetterQueueProperty value)
`AWS::Serverless::Function.DeadLetterQueue`.
|
void |
setDeadLetterQueue(IResolvable value)
`AWS::Serverless::Function.DeadLetterQueue`.
|
void |
setDeploymentPreference(CfnFunction.DeploymentPreferenceProperty value)
`AWS::Serverless::Function.DeploymentPreference`.
|
void |
setDeploymentPreference(IResolvable value)
`AWS::Serverless::Function.DeploymentPreference`.
|
void |
setDescription(String value)
`AWS::Serverless::Function.Description`.
|
void |
setEnvironment(CfnFunction.FunctionEnvironmentProperty value)
`AWS::Serverless::Function.Environment`.
|
void |
setEnvironment(IResolvable value)
`AWS::Serverless::Function.Environment`.
|
void |
setEvents(IResolvable value)
`AWS::Serverless::Function.Events`.
|
void |
setEvents(Map<String,Object> value)
`AWS::Serverless::Function.Events`.
|
void |
setFileSystemConfigs(IResolvable value)
`AWS::Serverless::Function.FileSystemConfigs`.
|
void |
setFileSystemConfigs(List<Object> value)
`AWS::Serverless::Function.FileSystemConfigs`.
|
void |
setFunctionName(String value)
`AWS::Serverless::Function.FunctionName`.
|
void |
setHandler(String value)
`AWS::Serverless::Function.Handler`.
|
void |
setKmsKeyArn(String value)
`AWS::Serverless::Function.KmsKeyArn`.
|
void |
setLayers(List<String> value)
`AWS::Serverless::Function.Layers`.
|
void |
setMemorySize(Number value)
`AWS::Serverless::Function.MemorySize`.
|
void |
setPermissionsBoundary(String value)
`AWS::Serverless::Function.PermissionsBoundary`.
|
void |
setPolicies(CfnFunction.IAMPolicyDocumentProperty value)
`AWS::Serverless::Function.Policies`.
|
void |
setPolicies(IResolvable value)
`AWS::Serverless::Function.Policies`.
|
void |
setPolicies(List<Object> value)
`AWS::Serverless::Function.Policies`.
|
void |
setPolicies(String value)
`AWS::Serverless::Function.Policies`.
|
void |
setProvisionedConcurrencyConfig(CfnFunction.ProvisionedConcurrencyConfigProperty value)
`AWS::Serverless::Function.ProvisionedConcurrencyConfig`.
|
void |
setProvisionedConcurrencyConfig(IResolvable value)
`AWS::Serverless::Function.ProvisionedConcurrencyConfig`.
|
void |
setReservedConcurrentExecutions(Number value)
`AWS::Serverless::Function.ReservedConcurrentExecutions`.
|
void |
setRole(String value)
`AWS::Serverless::Function.Role`.
|
void |
setRuntime(String value)
`AWS::Serverless::Function.Runtime`.
|
void |
setTimeout(Number value)
`AWS::Serverless::Function.Timeout`.
|
void |
setTracing(String value)
`AWS::Serverless::Function.Tracing`.
|
void |
setVpcConfig(CfnFunction.VpcConfigProperty value)
`AWS::Serverless::Function.VpcConfig`.
|
void |
setVpcConfig(IResolvable value)
`AWS::Serverless::Function.VpcConfig`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
@Stability(value=Stable) public static final String REQUIRED_TRANSFORM
protected CfnFunction(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnFunction(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFunctionProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.@Stability(value=Stable) public void inspect(@NotNull TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getCodeUri()
@Stability(value=Stable) public void setCodeUri(@NotNull String value)
@Stability(value=Stable) public void setCodeUri(@NotNull CfnFunction.S3LocationProperty value)
@Stability(value=Stable) public void setCodeUri(@NotNull IResolvable value)
@Stability(value=Stable) @NotNull public String getHandler()
@Stability(value=Stable) public void setHandler(@NotNull String value)
@Stability(value=Stable) @NotNull public String getRuntime()
@Stability(value=Stable) public void setRuntime(@NotNull String value)
@Stability(value=Stable) @Nullable public String getAutoPublishAlias()
@Stability(value=Stable) public void setAutoPublishAlias(@Nullable String value)
@Stability(value=Stable) @Nullable public Object getDeadLetterQueue()
@Stability(value=Stable) public void setDeadLetterQueue(@Nullable CfnFunction.DeadLetterQueueProperty value)
@Stability(value=Stable) public void setDeadLetterQueue(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Object getDeploymentPreference()
@Stability(value=Stable) public void setDeploymentPreference(@Nullable CfnFunction.DeploymentPreferenceProperty value)
@Stability(value=Stable) public void setDeploymentPreference(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable) public void setDescription(@Nullable String value)
@Stability(value=Stable) @Nullable public Object getEnvironment()
@Stability(value=Stable) public void setEnvironment(@Nullable CfnFunction.FunctionEnvironmentProperty value)
@Stability(value=Stable) public void setEnvironment(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Object getEvents()
@Stability(value=Stable) public void setEvents(@Nullable IResolvable value)
@Stability(value=Stable) public void setEvents(@Nullable Map<String,Object> value)
@Stability(value=Stable) @Nullable public Object getFileSystemConfigs()
@Stability(value=Stable) public void setFileSystemConfigs(@Nullable IResolvable value)
@Stability(value=Stable) public void setFileSystemConfigs(@Nullable List<Object> value)
@Stability(value=Stable) @Nullable public String getFunctionName()
@Stability(value=Stable) public void setFunctionName(@Nullable String value)
@Stability(value=Stable) @Nullable public String getKmsKeyArn()
@Stability(value=Stable) public void setKmsKeyArn(@Nullable String value)
@Stability(value=Stable) @Nullable public List<String> getLayers()
@Stability(value=Stable) public void setLayers(@Nullable List<String> value)
@Stability(value=Stable) @Nullable public Number getMemorySize()
@Stability(value=Stable) public void setMemorySize(@Nullable Number value)
@Stability(value=Stable) @Nullable public String getPermissionsBoundary()
@Stability(value=Stable) public void setPermissionsBoundary(@Nullable String value)
@Stability(value=Stable) @Nullable public Object getPolicies()
@Stability(value=Stable) public void setPolicies(@Nullable String value)
@Stability(value=Stable) public void setPolicies(@Nullable CfnFunction.IAMPolicyDocumentProperty value)
@Stability(value=Stable) public void setPolicies(@Nullable IResolvable value)
@Stability(value=Stable) public void setPolicies(@Nullable List<Object> value)
@Stability(value=Stable) @Nullable public Object getProvisionedConcurrencyConfig()
@Stability(value=Stable) public void setProvisionedConcurrencyConfig(@Nullable CfnFunction.ProvisionedConcurrencyConfigProperty value)
@Stability(value=Stable) public void setProvisionedConcurrencyConfig(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Number getReservedConcurrentExecutions()
@Stability(value=Stable) public void setReservedConcurrentExecutions(@Nullable Number value)
@Stability(value=Stable) @Nullable public String getRole()
@Stability(value=Stable) public void setRole(@Nullable String value)
@Stability(value=Stable) @Nullable public Number getTimeout()
@Stability(value=Stable) public void setTimeout(@Nullable Number value)
@Stability(value=Stable) @Nullable public String getTracing()
@Stability(value=Stable) public void setTracing(@Nullable String value)
@Stability(value=Stable) @Nullable public Object getVpcConfig()
@Stability(value=Stable) public void setVpcConfig(@Nullable CfnFunction.VpcConfigProperty value)
@Stability(value=Stable) public void setVpcConfig(@Nullable IResolvable value)
Copyright © 2021. All rights reserved.