-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create assertion for additional Route53 resources and for KMS resources.
- Loading branch information
Showing
13 changed files
with
143 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.KMS; | ||
|
||
/// <summary> | ||
/// Assertion for AWS::KMS::Alias. | ||
/// </summary> | ||
public class AliasAssertion : ResourceAssertion<AliasProperties> | ||
{ | ||
public override string Type => "AWS::KMS::Alias"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.KMS; | ||
|
||
/// <summary> | ||
/// Properties for AWS::KMS::Alias. | ||
/// </summary> | ||
public class AliasProperties : ResourceProperties | ||
{ | ||
/// <summary> | ||
/// Name of the key alias. | ||
/// </summary> | ||
public string? AliasName { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.KMS; | ||
|
||
/// <summary> | ||
/// Assertion for AWS::KMS::Key. | ||
/// </summary> | ||
public class KeyAssertion : ResourceAssertion<KeyProperties> | ||
{ | ||
public override string Type => "AWS::KMS::Key"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.KMS; | ||
|
||
/// <summary> | ||
/// Properties for AWS::KMS::Key. | ||
/// </summary> | ||
public class KeyProperties : ResourceProperties | ||
{ | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
Sagittaras.CDK.Testing.KMS/Sagittaras.CDK.Testing.KMS.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Sagittaras.CDK.Testing\Sagittaras.CDK.Testing.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.Route53; | ||
|
||
/// <summary> | ||
/// Assertion for AWS::Route53::KeySigningKey. | ||
/// </summary> | ||
public class KeySigningKeyAssertion : ResourceAssertion<KeySigningKeyProperties> | ||
{ | ||
/// <inheritdoc /> | ||
public override string Type => "AWS::Route53::KeySigningKey"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.Route53; | ||
|
||
/// <summary> | ||
/// Properties for AWS::Route53::KeySigningKey. | ||
/// </summary> | ||
public class KeySigningKeyProperties : ResourceProperties | ||
{ | ||
/// <summary> | ||
/// Current status of the KSK. | ||
/// </summary> | ||
public string? Status { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.Route53; | ||
|
||
/// <summary> | ||
/// Assertion for AWS::Route53::RecordSet. | ||
/// </summary> | ||
public class RecordSetAssertion : ResourceAssertion<RecordSetProperties> | ||
{ | ||
/// <inheritdoc /> | ||
public override string Type => "AWS::Route53::RecordSet"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Sagittaras.CDK.Testing.Resources; | ||
|
||
namespace Sagittaras.CDK.Testing.Route53; | ||
|
||
/// <summary> | ||
/// Properties for AWS::Route53::RecordSet. | ||
/// </summary> | ||
public class RecordSetProperties : ResourceProperties | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters