Class ImportValueIntrinsic
Represents the Fn::ImportValue intrinsic.
Inherited Members
Namespace: Firefly.CloudFormationParser.Intrinsics.Functions
Assembly: Firefly.CloudFormationParser.dll
Syntax
public class ImportValueIntrinsic : AbstractScalarIntrinsic, IIntrinsic, IEnumerable<object>, IEnumerable
Constructors
| Improve this Doc View SourceImportValueIntrinsic()
Initializes a new instance of the ImportValueIntrinsic class.
Declaration
public ImportValueIntrinsic()
ImportValueIntrinsic(Object)
Initializes a new instance of the ImportValueIntrinsic class.
Declaration
public ImportValueIntrinsic(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value. |
ImportValueIntrinsic(Object, Boolean)
Initializes a new instance of the ImportValueIntrinsic class.
Declaration
public ImportValueIntrinsic(object value, bool useLongForm)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value. |
Boolean | useLongForm | If set to |
Fields
| Improve this Doc View SourceTag
The tag
Declaration
public const string Tag = "!ImportValue"
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceExportName
Gets or sets the name of the export.
Declaration
public object ExportName { get; }
Property Value
Type | Description |
---|---|
Object | The name of the export. |
LongName
Gets the long name of the intrinsic.
Declaration
public override string LongName { get; }
Property Value
Type | Description |
---|---|
String | The long name. |
Overrides
| Improve this Doc View SourceTagName
Gets the YAML tag name.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
String | The name of the tag. |
Overrides
| Improve this Doc View SourceType
Gets the intrinsic type for this intrinsic.
Declaration
public override IntrinsicType Type { get; }
Property Value
Type | Description |
---|---|
IntrinsicType | The type. |
Overrides
Methods
| Improve this Doc View SourceEvaluate(ITemplate)
Evaluates the result of the intrinsic function.
Declaration
public override object Evaluate(ITemplate template)
Parameters
Type | Name | Description |
---|---|---|
ITemplate | template | Reference to the template being processed |
Returns
Type | Description |
---|---|
Object | The result. |
Overrides
| Improve this Doc View SourceGetReferencedObjects(ITemplate)
Gets a list of referenced resources and/or parameters in this expression
Declaration
public override IEnumerable<string> GetReferencedObjects(ITemplate template)
Parameters
Type | Name | Description |
---|---|---|
ITemplate | template | Reference to the template being processed |
Returns
Type | Description |
---|---|
IEnumerable<String> | List of references |