Show / Hide Table of Contents

Class GetAttIntrinsic

Represents the Fn::GetAtt intrinsic.

Inheritance
Object
AbstractIntrinsic
AbstractArrayIntrinsic
GetAttIntrinsic
Implements
IReferenceIntrinsic
IIntrinsic
IEnumerable<Object>
IEnumerable
Inherited Members
AbstractArrayIntrinsic.Items
AbstractIntrinsic.ExtraData
AbstractIntrinsic.UseLongForm
AbstractIntrinsic.GetEnumerator()
AbstractIntrinsic.WriteYaml(IEmitter, IValueSerializer)
AbstractIntrinsic.IEnumerable.GetEnumerator()
AbstractIntrinsic.SetValue(Object)
AbstractIntrinsic.UnpackIntrinsic(Object)
AbstractIntrinsic.ValidateValues(Int32, Int32, IList<Object>)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Firefly.CloudFormationParser.Intrinsics.Functions
Assembly: Firefly.CloudFormationParser.dll
Syntax
public class GetAttIntrinsic : AbstractArrayIntrinsic, IReferenceIntrinsic, IIntrinsic, IEnumerable<object>, IEnumerable

Constructors

| Improve this Doc View Source

GetAttIntrinsic()

Initializes a new instance of the GetAttIntrinsic class.

Declaration
public GetAttIntrinsic()
| Improve this Doc View Source

GetAttIntrinsic(Object)

Initializes a new instance of the GetAttIntrinsic class.

Declaration
public GetAttIntrinsic(object value)
Parameters
Type Name Description
Object value

The value.

| Improve this Doc View Source

GetAttIntrinsic(Object, Boolean)

Initializes a new instance of the GetAttIntrinsic class.

Declaration
public GetAttIntrinsic(object value, bool useLongForm)
Parameters
Type Name Description
Object value

The value.

Boolean useLongForm

If set to true, emit long form of intrinsic when serializing.

| Improve this Doc View Source

GetAttIntrinsic(String, Object)

Initializes a new instance of the GetAttIntrinsic class.

Declaration
public GetAttIntrinsic(string logicalId, object attributeName)
Parameters
Type Name Description
String logicalId

The logical identifier.

Object attributeName

Name of the attribute. String or reference to an intrinsic.

Fields

| Improve this Doc View Source

Tag

The tag

Declaration
public const string Tag = "!GetAtt"
Field Value
Type Description
String

Properties

| Improve this Doc View Source

AttributeName

Gets or sets the name of the attribute. This may be a RefIntrinsic or a string.

Declaration
public object AttributeName { get; set; }
Property Value
Type Description
Object

The name of the attribute.

| Improve this Doc View Source

LogicalId

Gets or sets the logical identifier.

Declaration
public string LogicalId { get; set; }
Property Value
Type Description
String

The logical identifier.

| Improve this Doc View Source

LongName

Gets the long name of the intrinsic.

Declaration
public override string LongName { get; }
Property Value
Type Description
String

The long name.

Overrides
AbstractIntrinsic.LongName
| Improve this Doc View Source

TagName

Gets the YAML tag name.

Declaration
public override string TagName { get; }
Property Value
Type Description
String

The name of the tag.

Overrides
AbstractIntrinsic.TagName
| Improve this Doc View Source

Type

Gets the intrinsic type for this intrinsic.

Declaration
public override IntrinsicType Type { get; }
Property Value
Type Description
IntrinsicType

The type.

Overrides
AbstractIntrinsic.Type

Methods

| Improve this Doc View Source

Evaluate(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
AbstractIntrinsic.Evaluate(ITemplate)
| Improve this Doc View Source

GetReferencedObjects(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

Overrides
AbstractIntrinsic.GetReferencedObjects(ITemplate)
| Improve this Doc View Source

ReferencedObject(ITemplate)

Gets the name of the referenced object, e.g. parameter name or resource.property (GetAtt)

Declaration
public string ReferencedObject(ITemplate template)
Parameters
Type Name Description
ITemplate template
Returns
Type Description
String

The referenced object.

| Improve this Doc View Source

SetValue(IEnumerable<Object>)

Sets the values for the intrinsic.

This is a list of objects, whose length depends on the number of properties (usually list elements) supported by the intrinsic. Each element depending on the intrinsic, may be a scalar value, another intrinsic or another list of items e.g. for !Join or !Select

Declaration
protected override void SetValue(IEnumerable<object> values)
Parameters
Type Name Description
IEnumerable<Object> values

Values to assign to the intrinsic

Overrides
AbstractIntrinsic.SetValue(IEnumerable<Object>)

Implements

IReferenceIntrinsic
IIntrinsic
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

See Also

IIntrinsic
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX