@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:47.663Z") @Stability(value=Stable) public class CfnApplication extends CfnResource implements IInspectable
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.sam.*;
CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication")
.location("location")
// the properties below are optional
.notificationArns(List.of("notificationArns"))
.parameters(Map.of(
"parametersKey", "parameters"))
.tags(Map.of(
"tagsKey", "tags"))
.timeoutInMinutes(123)
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnApplication.ApplicationLocationProperty
Example:
|
static class |
CfnApplication.Builder
A fluent builder for
CfnApplication. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| 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 |
|---|---|
|
CfnApplication(Construct scope,
String id,
CfnApplicationProps props)
Create a new `AWS::Serverless::Application`.
|
protected |
CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
Object |
getLocation()
`AWS::Serverless::Application.Location`.
|
List<String> |
getNotificationArns()
`AWS::Serverless::Application.NotificationArns`.
|
Object |
getParameters()
`AWS::Serverless::Application.Parameters`.
|
TagManager |
getTags()
`AWS::Serverless::Application.Tags`.
|
Number |
getTimeoutInMinutes()
`AWS::Serverless::Application.TimeoutInMinutes`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setLocation(CfnApplication.ApplicationLocationProperty value)
`AWS::Serverless::Application.Location`.
|
void |
setLocation(IResolvable value)
`AWS::Serverless::Application.Location`.
|
void |
setLocation(String value)
`AWS::Serverless::Application.Location`.
|
void |
setNotificationArns(List<String> value)
`AWS::Serverless::Application.NotificationArns`.
|
void |
setParameters(IResolvable value)
`AWS::Serverless::Application.Parameters`.
|
void |
setParameters(Map<String,String> value)
`AWS::Serverless::Application.Parameters`.
|
void |
setTimeoutInMinutes(Number value)
`AWS::Serverless::Application.TimeoutInMinutes`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, 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 CfnApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApplication(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnApplicationProps 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 IInspectableinspector - - 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 CfnResourceprops - 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 getLocation()
@Stability(value=Stable)
public void setLocation(@NotNull
String value)
@Stability(value=Stable)
public void setLocation(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setLocation(@NotNull
CfnApplication.ApplicationLocationProperty value)
@Stability(value=Stable) @Nullable public List<String> getNotificationArns()
@Stability(value=Stable)
public void setNotificationArns(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Object getParameters()
@Stability(value=Stable)
public void setParameters(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setParameters(@Nullable
Map<String,String> value)
@Stability(value=Stable) @Nullable public Number getTimeoutInMinutes()
@Stability(value=Stable)
public void setTimeoutInMinutes(@Nullable
Number value)
Copyright © 2022. All rights reserved.