معرفی شرکت ها


aws-cdk.aws-cloud9-alpha-2.9.0a0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

The CDK Construct Library for AWS::Cloud9
ویژگی مقدار
سیستم عامل OS Independent
نام فایل aws-cdk.aws-cloud9-alpha-2.9.0a0
نام aws-cdk.aws-cloud9-alpha
نسخه کتابخانه 2.9.0a0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Amazon Web Services
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/aws/aws-cdk
آدرس اینترنتی https://pypi.org/project/aws-cdk.aws-cloud9-alpha/
مجوز Apache-2.0
# AWS Cloud9 Construct Library <!--BEGIN STABILITY BANNER-->--- ![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge) > The APIs of higher level constructs in this module are experimental and under active development. > They are subject to non-backward compatible changes or removal in any future version. These are > not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be > announced in the release notes. This means that while you may use them, you may need to update > your source code when upgrading to a newer version of this package. --- <!--END STABILITY BANNER--> This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project. AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular programming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your development machine to start new projects. Since your Cloud9 IDE is cloud-based, you can work on your projects from your office, home, or anywhere using an internet-connected machine. Cloud9 also provides a seamless experience for developing serverless applications enabling you to easily define resources, debug, and switch between local and remote execution of serverless applications. With Cloud9, you can quickly share your development environment with your team, enabling you to pair program and track each other's inputs in real time. ## Creating EC2 Environment EC2 Environments are defined with `Ec2Environment`. To create an EC2 environment in the private subnet, specify `subnetSelection` with private `subnetType`. ```python # create a cloud9 ec2 environment in a new VPC vpc = ec2.Vpc(self, "VPC", max_azs=3) cloud9.Ec2Environment(self, "Cloud9Env", vpc=vpc, image_id=cloud9.ImageId.AMAZON_LINUX_2) # or create the cloud9 environment in the default VPC with specific instanceType default_vpc = ec2.Vpc.from_lookup(self, "DefaultVPC", is_default=True) cloud9.Ec2Environment(self, "Cloud9Env2", vpc=default_vpc, instance_type=ec2.InstanceType("t3.large"), image_id=cloud9.ImageId.AMAZON_LINUX_2 ) # or specify in a different subnetSelection c9env = cloud9.Ec2Environment(self, "Cloud9Env3", vpc=vpc, subnet_selection=ec2.SubnetSelection( subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS ), image_id=cloud9.ImageId.AMAZON_LINUX_2 ) # print the Cloud9 IDE URL in the output CfnOutput(self, "URL", value=c9env.ide_url) ``` ## Specifying EC2 AMI Use `imageId` to specify the EC2 AMI image to be used: ```python default_vpc = ec2.Vpc.from_lookup(self, "DefaultVPC", is_default=True) cloud9.Ec2Environment(self, "Cloud9Env2", vpc=default_vpc, instance_type=ec2.InstanceType("t3.large"), image_id=cloud9.ImageId.UBUNTU_18_04 ) ``` ## Cloning Repositories Use `clonedRepositories` to clone one or multiple AWS Codecommit repositories into the environment: ```python import aws_cdk.aws_codecommit as codecommit # create a new Cloud9 environment and clone the two repositories # vpc: ec2.Vpc # create a codecommit repository to clone into the cloud9 environment repo_new = codecommit.Repository(self, "RepoNew", repository_name="new-repo" ) # import an existing codecommit repository to clone into the cloud9 environment repo_existing = codecommit.Repository.from_repository_name(self, "RepoExisting", "existing-repo") cloud9.Ec2Environment(self, "C9Env", vpc=vpc, cloned_repositories=[ cloud9.CloneRepository.from_code_commit(repo_new, "/src/new-repo"), cloud9.CloneRepository.from_code_commit(repo_existing, "/src/existing-repo") ], image_id=cloud9.ImageId.AMAZON_LINUX_2 ) ```


نیازمندی

مقدار نام
<3.0.0,>=2.49.0 aws-cdk-lib
<11.0.0,>=10.0.0 constructs
<2.0.0,>=1.70.0 jsii
>=0.0.3 publication
~=2.13.3 typeguard


زبان مورد نیاز

مقدار نام
~=3.7 Python


نحوه نصب


نصب پکیج whl aws-cdk.aws-cloud9-alpha-2.9.0a0:

    pip install aws-cdk.aws-cloud9-alpha-2.9.0a0.whl


نصب پکیج tar.gz aws-cdk.aws-cloud9-alpha-2.9.0a0:

    pip install aws-cdk.aws-cloud9-alpha-2.9.0a0.tar.gz