Class EqualsAssertion
(experimental) Construct that creates a CustomResource to assert that two values are equal.
Inheritance
System.Object
EqualsAssertion
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public class EqualsAssertion : Construct
Syntax (vb)
Public Class EqualsAssertion
Inherits Construct
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.IntegTests.Alpha;
ActualResult actualResult;
ExpectedResult expectedResult;
var equalsAssertion = new EqualsAssertion(this, "MyEqualsAssertion", new EqualsAssertionProps {
Actual = actualResult,
Expected = expectedResult,
// the properties below are optional
FailDeployment = false
});
Synopsis
Constructors
EqualsAssertion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EqualsAssertion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
EqualsAssertion(Construct, String, IEqualsAssertionProps) |
Properties
Result | (experimental) The result of the assertion. |
Constructors
EqualsAssertion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EqualsAssertion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EqualsAssertion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EqualsAssertion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
EqualsAssertion(Construct, String, IEqualsAssertionProps)
public EqualsAssertion(Construct scope, string id, IEqualsAssertionProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IEqualsAssertionProps
Remarks
Stability: Experimental
Properties
Result
(experimental) The result of the assertion.
public virtual string Result { get; }
Property Value
System.String
Remarks
Stability: Experimental