@fjall/components-infrastructure 0.80.4 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/lib/__tests__/setup.js +1 -78
  2. package/dist/lib/app.d.ts +5 -0
  3. package/dist/lib/app.js +29 -1
  4. package/dist/lib/config/aws/ecrDefaultImage.js +23 -21
  5. package/dist/lib/patterns/aws/compute.d.ts +29 -21
  6. package/dist/lib/patterns/aws/compute.js +10 -3
  7. package/dist/lib/patterns/aws/database.d.ts +1 -0
  8. package/dist/lib/patterns/aws/database.js +33 -3
  9. package/dist/lib/patterns/aws/storage.d.ts +1 -0
  10. package/dist/lib/patterns/aws/storage.js +23 -1
  11. package/dist/lib/resources/aws/compute/ecs.d.ts +50 -2
  12. package/dist/lib/resources/aws/compute/ecs.js +134 -18
  13. package/dist/lib/resources/aws/compute/ecsFreeTier.d.ts +2 -1
  14. package/dist/lib/resources/aws/compute/ecsFreeTier.js +1 -352
  15. package/dist/lib/resources/aws/compute/ecsSpot.d.ts +2 -1
  16. package/dist/lib/resources/aws/compute/ecsSpot.js +1 -332
  17. package/dist/lib/resources/aws/compute/utilities/capacityProviderDrainWaiter.js +1 -180
  18. package/dist/lib/resources/aws/monitoring/monitoringRole.js +61 -4
  19. package/dist/lib/resources/aws/utilities/cfnOutput.js +1 -13
  20. package/package.json +3 -3
  21. package/dist/lib/patterns/aws/cdn.d.ts +0 -133
  22. package/dist/lib/patterns/aws/cdn.js +0 -216
  23. package/dist/lib/patterns/aws/dynamodb.d.ts +0 -66
  24. package/dist/lib/patterns/aws/dynamodb.js +0 -106
  25. package/dist/lib/patterns/aws/loadBalancer.d.ts +0 -163
  26. package/dist/lib/patterns/aws/loadBalancer.js +0 -278
  27. package/dist/lib/patterns/aws/queue.d.ts +0 -61
  28. package/dist/lib/patterns/aws/queue.js +0 -103
  29. package/dist/lib/resources/aws/cdn/cloudFront.d.ts +0 -65
  30. package/dist/lib/resources/aws/cdn/cloudFront.js +0 -135
  31. package/dist/lib/resources/aws/cdn/index.d.ts +0 -1
  32. package/dist/lib/resources/aws/cdn/index.js +0 -18
  33. package/dist/lib/resources/aws/compute/capacityProviderDrainWaiter.d.ts +0 -20
  34. package/dist/lib/resources/aws/compute/capacityProviderDrainWaiter.js +0 -180
  35. package/dist/lib/resources/aws/database/dynamodb.d.ts +0 -70
  36. package/dist/lib/resources/aws/database/dynamodb.js +0 -170
  37. package/dist/lib/resources/aws/database/rdsDeletionWaiter.d.ts +0 -33
  38. package/dist/lib/resources/aws/database/rdsDeletionWaiter.js +0 -74
  39. package/dist/lib/resources/aws/messaging/index.d.ts +0 -1
  40. package/dist/lib/resources/aws/messaging/index.js +0 -18
  41. package/dist/lib/resources/aws/messaging/sqs.d.ts +0 -65
  42. package/dist/lib/resources/aws/messaging/sqs.js +0 -195
  43. package/dist/lib/resources/aws/networking/vpcEndpoint.d.ts +0 -20
  44. package/dist/lib/resources/aws/networking/vpcEndpoint.js +0 -59
  45. package/dist/lib/resources/aws/networking/vpcEndpoints.d.ts +0 -71
  46. package/dist/lib/resources/aws/networking/vpcEndpoints.js +0 -125
  47. package/dist/lib/resources/aws/utilities/cfnOutput.test.d.ts +0 -1
  48. package/dist/lib/resources/aws/utilities/cfnOutput.test.js +0 -102
  49. package/dist/lib/utils/sanitizeCfnKey.d.ts +0 -5
  50. package/dist/lib/utils/sanitizeCfnKey.js +0 -11
  51. package/dist/lib/utils/tagResource.d.ts +0 -24
  52. package/dist/lib/utils/tagResource.js +0 -30
@@ -3,7 +3,7 @@ import { Connections, type IConnectable, type IVpc } from "aws-cdk-lib/aws-ec2";
3
3
  import { Construct } from "constructs";
4
4
  import { type StackBuilder } from "../base/awsStack";
5
5
  import { type SecretValue } from "aws-cdk-lib";
6
- import { type IManagedPolicy, PolicyDocument } from "aws-cdk-lib/aws-iam";
6
+ import { type IManagedPolicy, PolicyDocument, Role } from "aws-cdk-lib/aws-iam";
7
7
  import { Repository } from "aws-cdk-lib/aws-ecr";
8
8
  import { type KeyValue } from "../../../types";
9
9
  export declare enum ScalingType {
@@ -69,6 +69,7 @@ export default class Ec2Cluster extends Construct implements IConnectable {
69
69
  addHostedZone(props: Ec2ClusterProps): void;
70
70
  registerLoadBalancerTargets(props: Ec2ClusterProps): void;
71
71
  getImage(props: Ec2ClusterProps): ContainerImage;
72
+ getTaskRole(): Role | undefined;
72
73
  static build(id: string, props: Ec2ClusterProps): (sb: StackBuilder) => Construct;
73
74
  }
74
75
  export {};