Class EqualsAssertion
(experimental) Construct that creates a CustomResource to assert that two values are equal.
Inheritance
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
Equals |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Equals |
Used by jsii to construct an instance of this class from DeputyProps |
Equals |
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. By Ref Value 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. Deputy Base. Deputy Props The deputy props
EqualsAssertion(Construct, String, IEqualsAssertionProps)
public EqualsAssertion(Construct scope, string id, IEqualsAssertionProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props IEquals
Assertion Props
Remarks
Stability: Experimental
Properties
Result
(experimental) The result of the assertion.
public virtual string Result { get; }
Property Value
System.
Remarks
Stability: Experimental