cdk-cloudformation-awscommunity-resource-lookup


Namecdk-cloudformation-awscommunity-resource-lookup JSON
Version 1.10.0a7 PyPI version JSON
download
home_pagehttps://github.com/aws-cloudformation/community-registry-extensions/blob/main/resources/Resource_Lookup/README.md
SummaryThis resource uses AWS Cloud Control API to perform a lookup of a resource of a given type (such as, `AWS::EC2::VPC`) in your AWS account and current region, based on a query you specify. If only one match is found, this resource returns the primary ID of the resource (in the `AWS::EC2::VPC` example, the VPC ID) and the resource properties, that you can then reference in your template with the `Fn::GetAtt` intrinsic function. Specify resource type search targets that are supported by Cloud Control API.
upload_time2023-12-11 06:18:37
maintainer
docs_urlNone
authorAmazon Web Services
requires_python~=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # awscommunity-resource-lookup

> AWS CDK [L1 construct](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html) and data structures for the [AWS CloudFormation Registry](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html) type `AwsCommunity::Resource::Lookup` v1.10.0.

## Description

This resource uses AWS Cloud Control API to perform a lookup of a resource of a given type (such as, `AWS::EC2::VPC`) in your AWS account and current region, based on a query you specify.  If only one match is found, this resource returns the primary ID of the resource (in the `AWS::EC2::VPC` example, the VPC ID) and the resource properties, that you can then reference in your template with the `Fn::GetAtt` intrinsic function.  Specify resource type search targets that are supported by Cloud Control API.

## References

* [Documentation](https://github.com/aws-cloudformation/community-registry-extensions/blob/main/resources/Resource_Lookup/README.md)
* [Source](https://github.com/aws-cloudformation/community-registry-extensions/tree/main/resources/Resource_Lookup)

## Usage

In order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using the [AWS CLI](https://aws.amazon.com/cli/) using the following command:

```sh
aws cloudformation activate-type \
  --type-name AwsCommunity::Resource::Lookup \
  --publisher-id c830e97710da0c9954d80ba8df021e5439e7134b \
  --type RESOURCE \
  --execution-role-arn ROLE-ARN
```

Alternatively:

```sh
aws cloudformation activate-type \
  --public-type-arn arn:aws:cloudformation:us-east-1::type/resource/c830e97710da0c9954d80ba8df021e5439e7134b/AwsCommunity-Resource-Lookup \
  --execution-role-arn ROLE-ARN
```

You can find more information about activating this type in the [AWS CloudFormation documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html).

## Feedback

This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation](https://github.com/cdklabs/cdk-cloudformation) project based on the API schema published for `AwsCommunity::Resource::Lookup`.

* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fawscommunity-resource-lookup+v1.10.0).
* Issues related to `AwsCommunity::Resource::Lookup` should be reported to the [publisher](https://github.com/aws-cloudformation/community-registry-extensions/blob/main/resources/Resource_Lookup/README.md).

## License

Distributed under the Apache-2.0 License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aws-cloudformation/community-registry-extensions/blob/main/resources/Resource_Lookup/README.md",
    "name": "cdk-cloudformation-awscommunity-resource-lookup",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Amazon Web Services",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/72/cd/da218b88b5b9d58aeed6e1112538d193441b4afe0cba43466a82a1075ea6/cdk-cloudformation-awscommunity-resource-lookup-1.10.0a7.tar.gz",
    "platform": null,
    "description": "# awscommunity-resource-lookup\n\n> AWS CDK [L1 construct](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html) and data structures for the [AWS CloudFormation Registry](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html) type `AwsCommunity::Resource::Lookup` v1.10.0.\n\n## Description\n\nThis resource uses AWS Cloud Control API to perform a lookup of a resource of a given type (such as, `AWS::EC2::VPC`) in your AWS account and current region, based on a query you specify.  If only one match is found, this resource returns the primary ID of the resource (in the `AWS::EC2::VPC` example, the VPC ID) and the resource properties, that you can then reference in your template with the `Fn::GetAtt` intrinsic function.  Specify resource type search targets that are supported by Cloud Control API.\n\n## References\n\n* [Documentation](https://github.com/aws-cloudformation/community-registry-extensions/blob/main/resources/Resource_Lookup/README.md)\n* [Source](https://github.com/aws-cloudformation/community-registry-extensions/tree/main/resources/Resource_Lookup)\n\n## Usage\n\nIn order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using the [AWS CLI](https://aws.amazon.com/cli/) using the following command:\n\n```sh\naws cloudformation activate-type \\\n  --type-name AwsCommunity::Resource::Lookup \\\n  --publisher-id c830e97710da0c9954d80ba8df021e5439e7134b \\\n  --type RESOURCE \\\n  --execution-role-arn ROLE-ARN\n```\n\nAlternatively:\n\n```sh\naws cloudformation activate-type \\\n  --public-type-arn arn:aws:cloudformation:us-east-1::type/resource/c830e97710da0c9954d80ba8df021e5439e7134b/AwsCommunity-Resource-Lookup \\\n  --execution-role-arn ROLE-ARN\n```\n\nYou can find more information about activating this type in the [AWS CloudFormation documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html).\n\n## Feedback\n\nThis library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation](https://github.com/cdklabs/cdk-cloudformation) project based on the API schema published for `AwsCommunity::Resource::Lookup`.\n\n* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fawscommunity-resource-lookup+v1.10.0).\n* Issues related to `AwsCommunity::Resource::Lookup` should be reported to the [publisher](https://github.com/aws-cloudformation/community-registry-extensions/blob/main/resources/Resource_Lookup/README.md).\n\n## License\n\nDistributed under the Apache-2.0 License.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "This resource uses AWS Cloud Control API to perform a lookup of a resource of a given type (such as, `AWS::EC2::VPC`) in your AWS account and current region, based on a query you specify.  If only one match is found, this resource returns the primary ID of the resource (in the `AWS::EC2::VPC` example, the VPC ID) and the resource properties, that you can then reference in your template with the `Fn::GetAtt` intrinsic function.  Specify resource type search targets that are supported by Cloud Control API.",
    "version": "1.10.0a7",
    "project_urls": {
        "Homepage": "https://github.com/aws-cloudformation/community-registry-extensions/blob/main/resources/Resource_Lookup/README.md",
        "Source": "https://github.com/cdklabs/cdk-cloudformation.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac7124519ed8b30c3c844020e5077655dc7ad32163395900854612d3e3c08414",
                "md5": "1ec629164b0554eec9c710d5cae7dbf4",
                "sha256": "ef30245ba1037138d9753167ea4023f81012d6c8eed0baaec3f7f8e0c75860a6"
            },
            "downloads": -1,
            "filename": "cdk_cloudformation_awscommunity_resource_lookup-1.10.0a7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1ec629164b0554eec9c710d5cae7dbf4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 35198,
            "upload_time": "2023-12-11T06:18:35",
            "upload_time_iso_8601": "2023-12-11T06:18:35.075652Z",
            "url": "https://files.pythonhosted.org/packages/ac/71/24519ed8b30c3c844020e5077655dc7ad32163395900854612d3e3c08414/cdk_cloudformation_awscommunity_resource_lookup-1.10.0a7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72cdda218b88b5b9d58aeed6e1112538d193441b4afe0cba43466a82a1075ea6",
                "md5": "d3603af743e816ef11afb04cf831c005",
                "sha256": "228fc4c9002e0d57282e9f0ece69eb7cb34370883180e9ef79ca7e4412ba14b7"
            },
            "downloads": -1,
            "filename": "cdk-cloudformation-awscommunity-resource-lookup-1.10.0a7.tar.gz",
            "has_sig": false,
            "md5_digest": "d3603af743e816ef11afb04cf831c005",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 36011,
            "upload_time": "2023-12-11T06:18:37",
            "upload_time_iso_8601": "2023-12-11T06:18:37.003082Z",
            "url": "https://files.pythonhosted.org/packages/72/cd/da218b88b5b9d58aeed6e1112538d193441b4afe0cba43466a82a1075ea6/cdk-cloudformation-awscommunity-resource-lookup-1.10.0a7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-11 06:18:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aws-cloudformation",
    "github_project": "community-registry-extensions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cdk-cloudformation-awscommunity-resource-lookup"
}
        
Elapsed time: 0.19528s