Skip to content

gammarers/aws-ec2-instance-connect-custom-resource

Repository files navigation

GitHub npm (scoped) PyPI Nuget Sonatype Nexus (Releases) GitHub Workflow Status (branch) GitHub release (latest SemVer)

AWS EC2 Instance Connect Custom Resource

AWS EC2 instance connect custom resource

Resources

This construct creating resource list.

  • AWS Custom Resource
    • Lambda Function Iam Role
    • Lambda Function
    • Custom Resource Iam Role
    • Custom Policy

Install

TypeScript

npm install @gammarer/aws-ec2-instance-connect-custom-resource
# or
yarn add @gammarer/aws-ec2-instance-connect-custom-resource

Python

pip install gammarer.aws-ec2-instance-connect-custom-resource 

C# / .NET

dotnet add package Gammarer.CDK.AWS.Ec2InstanceConnectCustomResource

Java

Add the following to pom.xml:

<dependency>
  <groupId>com.gammarer</groupId>
  <artifactId>aws-ec2-instance-connect-custom-resource</artifactId>
</dependency>

Example

import { EC2InstanceConnectCustomResource } from '@gammarer/aws-ec2-instance-connect-custom-resource';

new EC2InstanceConnectCustomResource(stack, 'EC2InstanceConnectCustomResource', {
  subnetId: 'example-subnet-id',
  securityGroupIds: [
    'example-security-group-id',
  ],
});

License

This project is licensed under the Apache-2.0 License.