Class CfnIncludeProps.Jsii$Proxy
- All Implemented Interfaces:
CfnIncludeProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnIncludeProps
CfnIncludeProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cloudformation.include.CfnIncludeProps
CfnIncludeProps.Builder, CfnIncludeProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnIncludeProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnIncludeProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanSpecifies whether to allow cyclical references, effectively disregarding safeguards meant to avoid undeployable templates.Specifies a list of LogicalIDs for resources that will be included in the CDK Stack, but will not be parsed and converted to CDK types.final Map<String, CfnIncludeProps> Specifies the template files that define nested stacks that should be included.Specifies parameters to be replaced by the values in this mapping.final BooleanWhether the resources should have the same logical IDs in the resulting CDK template as they did in the original CloudFormation template file.final StringPath to the template file.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnIncludeProps.Builder.
-
-
Method Details
-
getTemplateFile
Description copied from interface:CfnIncludePropsPath to the template file.Both JSON and YAML template formats are supported.
- Specified by:
getTemplateFilein interfaceCfnIncludeProps
-
getAllowCyclicalReferences
Description copied from interface:CfnIncludePropsSpecifies whether to allow cyclical references, effectively disregarding safeguards meant to avoid undeployable templates.This should only be set to true in the case of templates utilizing cloud transforms (e.g. SAM) that after processing the transform will no longer contain any circular references.
Default: - will throw an error on detecting any cyclical references
- Specified by:
getAllowCyclicalReferencesin interfaceCfnIncludeProps
-
getDehydratedResources
Description copied from interface:CfnIncludePropsSpecifies a list of LogicalIDs for resources that will be included in the CDK Stack, but will not be parsed and converted to CDK types.This allows you to use CFN templates that rely on Intrinsic placement that
cfn-includewould otherwise reject, such as non-primitive values in resource update policies.Default: - All resources are hydrated
- Specified by:
getDehydratedResourcesin interfaceCfnIncludeProps
-
getLoadNestedStacks
Description copied from interface:CfnIncludePropsSpecifies the template files that define nested stacks that should be included.If your template specifies a stack that isn't included here, it won't be created as a NestedStack resource, and it won't be accessible from the
CfnInclude.getNestedStackmethod (but will still be accessible from theCfnInclude.getResourcemethod).If you include a stack here with an ID that isn't in the template, or is in the template but is not a nested stack, template creation will fail and an error will be thrown.
Default: - no nested stacks will be included
- Specified by:
getLoadNestedStacksin interfaceCfnIncludeProps
-
getParameters
Description copied from interface:CfnIncludePropsSpecifies parameters to be replaced by the values in this mapping.Any parameters in the template that aren't specified here will be left unmodified. If you include a parameter here with an ID that isn't in the template, template creation will fail and an error will be thrown.
If you are importing a parameter from a live stack, we cannot know the value of that parameter. You will need to supply a value for your parameters, else the default value will be used.
Default: - parameters will retain their original definitions
- Specified by:
getParametersin interfaceCfnIncludeProps
-
getPreserveLogicalIds
Description copied from interface:CfnIncludePropsWhether the resources should have the same logical IDs in the resulting CDK template as they did in the original CloudFormation template file.If you're vending a Construct using an existing CloudFormation template, make sure to pass this as
false.Note: regardless of whether this option is true or false, the
CfnInclude.getResourceand related methods always uses the original logical ID of the resource/element, as specified in the template file.Default: true
- Specified by:
getPreserveLogicalIdsin interfaceCfnIncludeProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-