10 references to StackResource
Aspire.Hosting.AWS (10)
AWSLifecycleHook.cs (2)
46
var stackResources = awsResources.OfType<
StackResource
>().ToList();
47
foreach (
var
stackResource in stackResources)
CDK\CDKExtensions.cs (1)
38
var
resource = new StackResource(name, new Stack(ResolveCDKApp(builder), stackName));
CDK\StackResource.cs (1)
26
/// <inheritdoc cref="Aspire.Hosting.AWS.CDK.
StackResource
" />
Provisioning\AWSProvisionerExtensions.cs (1)
25
builder.AddAWSProvisioner<
StackResource
, CDKStackResourceProvisioner>();;
Provisioning\CDKStackResourceProvisioner.cs (5)
15
: CloudFormationTemplateResourceProvisioner<
StackResource
>(loggerService, notificationService)
17
protected override async Task GetOrCreateResourceAsync(
StackResource
resource, CancellationToken cancellationToken)
20
await ProvisionCDKStackAssetsAsync((
StackResource
)resource, logger).ConfigureAwait(false);
24
private static Task ProvisionCDKStackAssetsAsync(
StackResource
resource, ILogger logger)
46
protected override void HandleTemplateProvisioningException(Exception ex,
StackResource
resource, ILogger logger)