Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-servicediscovery

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-servicediscovery - npm Package Compare versions

Comparing version 0.25.3 to 0.26.0

lib/alias-target-instance.d.ts

10

lib/index.d.ts

@@ -0,1 +1,11 @@

export * from './instance';
export * from './alias-target-instance';
export * from './cname-instance';
export * from './ip-instance';
export * from './non-ip-instance';
export * from './namespace';
export * from './http-namespace';
export * from './private-dns-namespace';
export * from './public-dns-namespace';
export * from './service';
export * from './servicediscovery.generated';

12

lib/index.js

@@ -6,4 +6,14 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./instance"));
__export(require("./alias-target-instance"));
__export(require("./cname-instance"));
__export(require("./ip-instance"));
__export(require("./non-ip-instance"));
__export(require("./namespace"));
__export(require("./http-namespace"));
__export(require("./private-dns-namespace"));
__export(require("./public-dns-namespace"));
__export(require("./service"));
// AWS::ServiceDiscovery CloudFormation Resources:
__export(require("./servicediscovery.generated"));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGtEQUFrRDtBQUNsRCxrREFBNkMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBBV1M6OlNlcnZpY2VEaXNjb3ZlcnkgQ2xvdWRGb3JtYXRpb24gUmVzb3VyY2VzOlxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlZGlzY292ZXJ5LmdlbmVyYXRlZCc7XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGdDQUEyQjtBQUMzQiw2Q0FBd0M7QUFDeEMsc0NBQWlDO0FBQ2pDLG1DQUE4QjtBQUM5Qix1Q0FBa0M7QUFDbEMsaUNBQTRCO0FBQzVCLHNDQUFpQztBQUNqQyw2Q0FBd0M7QUFDeEMsNENBQXVDO0FBQ3ZDLCtCQUEwQjtBQUMxQixrREFBa0Q7QUFDbEQsa0RBQTZDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pbnN0YW5jZSc7XG5leHBvcnQgKiBmcm9tICcuL2FsaWFzLXRhcmdldC1pbnN0YW5jZSc7XG5leHBvcnQgKiBmcm9tICcuL2NuYW1lLWluc3RhbmNlJztcbmV4cG9ydCAqIGZyb20gJy4vaXAtaW5zdGFuY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9ub24taXAtaW5zdGFuY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9uYW1lc3BhY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9odHRwLW5hbWVzcGFjZSc7XG5leHBvcnQgKiBmcm9tICcuL3ByaXZhdGUtZG5zLW5hbWVzcGFjZSc7XG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1kbnMtbmFtZXNwYWNlJztcbmV4cG9ydCAqIGZyb20gJy4vc2VydmljZSc7XG4vLyBBV1M6OlNlcnZpY2VEaXNjb3ZlcnkgQ2xvdWRGb3JtYXRpb24gUmVzb3VyY2VzOlxuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlZGlzY292ZXJ5LmdlbmVyYXRlZCc7XG4iXX0=

216

lib/servicediscovery.generated.d.ts
import cdk = require('@aws-cdk/cdk');
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html
* Properties for defining a `AWS::ServiceDiscovery::HttpNamespace`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html
*/
export interface CfnHttpNamespaceProps {
/**
* ``AWS::ServiceDiscovery::HttpNamespace.Name``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html#cfn-servicediscovery-httpnamespace-name
* `AWS::ServiceDiscovery::HttpNamespace.Name`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html#cfn-servicediscovery-httpnamespace-name
*/
name: string;
/**
* ``AWS::ServiceDiscovery::HttpNamespace.Description``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html#cfn-servicediscovery-httpnamespace-description
* `AWS::ServiceDiscovery::HttpNamespace.Description`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html#cfn-servicediscovery-httpnamespace-description
*/

@@ -18,5 +19,8 @@ description?: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html
* A CloudFormation `AWS::ServiceDiscovery::HttpNamespace`
*
* @cloudformationResource AWS::ServiceDiscovery::HttpNamespace
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html
*/
export declare class CfnHttpNamespace extends cdk.Resource {
export declare class CfnHttpNamespace extends cdk.CfnResource {
/**

@@ -27,15 +31,15 @@ * The CloudFormation resource type name for this resource class.

/**
* @cloudformation_attribute Arn
* @cloudformationAttribute Arn
*/
readonly httpNamespaceArn: string;
/**
* @cloudformation_attribute Id
* @cloudformationAttribute Id
*/
readonly httpNamespaceId: string;
/**
* Creates a new ``AWS::ServiceDiscovery::HttpNamespace``.
* Create a new `AWS::ServiceDiscovery::HttpNamespace`.
*
* @param scope scope in which this resource is defined
* @param id scoped id of the resource
* @param props resource properties
* @param scope - scope in which this resource is defined
* @param id - scoped id of the resource
* @param props - resource properties
*/

@@ -49,18 +53,19 @@ constructor(scope: cdk.Construct, id: string, props: CfnHttpNamespaceProps);

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html
* Properties for defining a `AWS::ServiceDiscovery::Instance`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html
*/
export interface CfnInstanceProps {
/**
* ``AWS::ServiceDiscovery::Instance.InstanceAttributes``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-instanceattributes
* `AWS::ServiceDiscovery::Instance.InstanceAttributes`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-instanceattributes
*/
instanceAttributes: object | cdk.Token;
/**
* ``AWS::ServiceDiscovery::Instance.ServiceId``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-serviceid
* `AWS::ServiceDiscovery::Instance.ServiceId`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-serviceid
*/
serviceId: string;
/**
* ``AWS::ServiceDiscovery::Instance.InstanceId``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-instanceid
* `AWS::ServiceDiscovery::Instance.InstanceId`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-instanceid
*/

@@ -70,5 +75,8 @@ instanceId?: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html
* A CloudFormation `AWS::ServiceDiscovery::Instance`
*
* @cloudformationResource AWS::ServiceDiscovery::Instance
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html
*/
export declare class CfnInstance extends cdk.Resource {
export declare class CfnInstance extends cdk.CfnResource {
/**

@@ -80,7 +88,7 @@ * The CloudFormation resource type name for this resource class.

/**
* Creates a new ``AWS::ServiceDiscovery::Instance``.
* Create a new `AWS::ServiceDiscovery::Instance`.
*
* @param scope scope in which this resource is defined
* @param id scoped id of the resource
* @param props resource properties
* @param scope - scope in which this resource is defined
* @param id - scoped id of the resource
* @param props - resource properties
*/

@@ -94,18 +102,19 @@ constructor(scope: cdk.Construct, id: string, props: CfnInstanceProps);

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html
* Properties for defining a `AWS::ServiceDiscovery::PrivateDnsNamespace`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html
*/
export interface CfnPrivateDnsNamespaceProps {
/**
* ``AWS::ServiceDiscovery::PrivateDnsNamespace.Name``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-name
* `AWS::ServiceDiscovery::PrivateDnsNamespace.Name`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-name
*/
name: string;
/**
* ``AWS::ServiceDiscovery::PrivateDnsNamespace.Vpc``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-vpc
* `AWS::ServiceDiscovery::PrivateDnsNamespace.Vpc`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-vpc
*/
vpc: string;
/**
* ``AWS::ServiceDiscovery::PrivateDnsNamespace.Description``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-description
* `AWS::ServiceDiscovery::PrivateDnsNamespace.Description`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-description
*/

@@ -115,5 +124,8 @@ description?: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html
* A CloudFormation `AWS::ServiceDiscovery::PrivateDnsNamespace`
*
* @cloudformationResource AWS::ServiceDiscovery::PrivateDnsNamespace
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html
*/
export declare class CfnPrivateDnsNamespace extends cdk.Resource {
export declare class CfnPrivateDnsNamespace extends cdk.CfnResource {
/**

@@ -124,15 +136,15 @@ * The CloudFormation resource type name for this resource class.

/**
* @cloudformation_attribute Arn
* @cloudformationAttribute Arn
*/
readonly privateDnsNamespaceArn: string;
/**
* @cloudformation_attribute Id
* @cloudformationAttribute Id
*/
readonly privateDnsNamespaceId: string;
/**
* Creates a new ``AWS::ServiceDiscovery::PrivateDnsNamespace``.
* Create a new `AWS::ServiceDiscovery::PrivateDnsNamespace`.
*
* @param scope scope in which this resource is defined
* @param id scoped id of the resource
* @param props resource properties
* @param scope - scope in which this resource is defined
* @param id - scoped id of the resource
* @param props - resource properties
*/

@@ -146,13 +158,14 @@ constructor(scope: cdk.Construct, id: string, props: CfnPrivateDnsNamespaceProps);

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html
* Properties for defining a `AWS::ServiceDiscovery::PublicDnsNamespace`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html
*/
export interface CfnPublicDnsNamespaceProps {
/**
* ``AWS::ServiceDiscovery::PublicDnsNamespace.Name``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-name
* `AWS::ServiceDiscovery::PublicDnsNamespace.Name`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-name
*/
name: string;
/**
* ``AWS::ServiceDiscovery::PublicDnsNamespace.Description``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-description
* `AWS::ServiceDiscovery::PublicDnsNamespace.Description`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-description
*/

@@ -162,5 +175,8 @@ description?: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html
* A CloudFormation `AWS::ServiceDiscovery::PublicDnsNamespace`
*
* @cloudformationResource AWS::ServiceDiscovery::PublicDnsNamespace
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html
*/
export declare class CfnPublicDnsNamespace extends cdk.Resource {
export declare class CfnPublicDnsNamespace extends cdk.CfnResource {
/**

@@ -171,15 +187,15 @@ * The CloudFormation resource type name for this resource class.

/**
* @cloudformation_attribute Arn
* @cloudformationAttribute Arn
*/
readonly publicDnsNamespaceArn: string;
/**
* @cloudformation_attribute Id
* @cloudformationAttribute Id
*/
readonly publicDnsNamespaceId: string;
/**
* Creates a new ``AWS::ServiceDiscovery::PublicDnsNamespace``.
* Create a new `AWS::ServiceDiscovery::PublicDnsNamespace`.
*
* @param scope scope in which this resource is defined
* @param id scoped id of the resource
* @param props resource properties
* @param scope - scope in which this resource is defined
* @param id - scoped id of the resource
* @param props - resource properties
*/

@@ -193,33 +209,34 @@ constructor(scope: cdk.Construct, id: string, props: CfnPublicDnsNamespaceProps);

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html
* Properties for defining a `AWS::ServiceDiscovery::Service`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html
*/
export interface CfnServiceProps {
/**
* ``AWS::ServiceDiscovery::Service.Description``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-description
* `AWS::ServiceDiscovery::Service.Description`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-description
*/
description?: string;
/**
* ``AWS::ServiceDiscovery::Service.DnsConfig``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-dnsconfig
* `AWS::ServiceDiscovery::Service.DnsConfig`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-dnsconfig
*/
dnsConfig?: CfnService.DnsConfigProperty | cdk.Token;
/**
* ``AWS::ServiceDiscovery::Service.HealthCheckConfig``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-healthcheckconfig
* `AWS::ServiceDiscovery::Service.HealthCheckConfig`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-healthcheckconfig
*/
healthCheckConfig?: CfnService.HealthCheckConfigProperty | cdk.Token;
/**
* ``AWS::ServiceDiscovery::Service.HealthCheckCustomConfig``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-healthcheckcustomconfig
* `AWS::ServiceDiscovery::Service.HealthCheckCustomConfig`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-healthcheckcustomconfig
*/
healthCheckCustomConfig?: CfnService.HealthCheckCustomConfigProperty | cdk.Token;
/**
* ``AWS::ServiceDiscovery::Service.Name``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-name
* `AWS::ServiceDiscovery::Service.Name`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-name
*/
name?: string;
/**
* ``AWS::ServiceDiscovery::Service.NamespaceId``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-namespaceid
* `AWS::ServiceDiscovery::Service.NamespaceId`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-namespaceid
*/

@@ -229,5 +246,8 @@ namespaceId?: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html
* A CloudFormation `AWS::ServiceDiscovery::Service`
*
* @cloudformationResource AWS::ServiceDiscovery::Service
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html
*/
export declare class CfnService extends cdk.Resource {
export declare class CfnService extends cdk.CfnResource {
/**

@@ -238,19 +258,19 @@ * The CloudFormation resource type name for this resource class.

/**
* @cloudformation_attribute Arn
* @cloudformationAttribute Arn
*/
readonly serviceArn: string;
/**
* @cloudformation_attribute Id
* @cloudformationAttribute Id
*/
readonly serviceId: string;
/**
* @cloudformation_attribute Name
* @cloudformationAttribute Name
*/
readonly serviceName: string;
/**
* Creates a new ``AWS::ServiceDiscovery::Service``.
* Create a new `AWS::ServiceDiscovery::Service`.
*
* @param scope scope in which this resource is defined
* @param id scoped id of the resource
* @param props resource properties
* @param scope - scope in which this resource is defined
* @param id - scoped id of the resource
* @param props - resource properties
*/

@@ -265,18 +285,18 @@ constructor(scope: cdk.Construct, id: string, props?: CfnServiceProps);

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html
*/
interface DnsConfigProperty {
/**
* ``CfnService.DnsConfigProperty.DnsRecords``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-dnsrecords
* `CfnService.DnsConfigProperty.DnsRecords`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-dnsrecords
*/
dnsRecords: Array<CfnService.DnsRecordProperty | cdk.Token> | cdk.Token;
/**
* ``CfnService.DnsConfigProperty.NamespaceId``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-namespaceid
* `CfnService.DnsConfigProperty.NamespaceId`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-namespaceid
*/
namespaceId?: string;
/**
* ``CfnService.DnsConfigProperty.RoutingPolicy``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-routingpolicy
* `CfnService.DnsConfigProperty.RoutingPolicy`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-routingpolicy
*/

@@ -288,13 +308,13 @@ routingPolicy?: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html
*/
interface DnsRecordProperty {
/**
* ``CfnService.DnsRecordProperty.TTL``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html#cfn-servicediscovery-service-dnsrecord-ttl
* `CfnService.DnsRecordProperty.TTL`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html#cfn-servicediscovery-service-dnsrecord-ttl
*/
ttl: string;
/**
* ``CfnService.DnsRecordProperty.Type``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html#cfn-servicediscovery-service-dnsrecord-type
* `CfnService.DnsRecordProperty.Type`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html#cfn-servicediscovery-service-dnsrecord-type
*/

@@ -306,18 +326,18 @@ type: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html
*/
interface HealthCheckConfigProperty {
/**
* ``CfnService.HealthCheckConfigProperty.FailureThreshold``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-failurethreshold
* `CfnService.HealthCheckConfigProperty.FailureThreshold`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-failurethreshold
*/
failureThreshold?: number | cdk.Token;
/**
* ``CfnService.HealthCheckConfigProperty.ResourcePath``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-resourcepath
* `CfnService.HealthCheckConfigProperty.ResourcePath`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-resourcepath
*/
resourcePath?: string;
/**
* ``CfnService.HealthCheckConfigProperty.Type``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-type
* `CfnService.HealthCheckConfigProperty.Type`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-type
*/

@@ -329,8 +349,8 @@ type: string;

/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckcustomconfig.html
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckcustomconfig.html
*/
interface HealthCheckCustomConfigProperty {
/**
* ``CfnService.HealthCheckCustomConfigProperty.FailureThreshold``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckcustomconfig.html#cfn-servicediscovery-service-healthcheckcustomconfig-failurethreshold
* `CfnService.HealthCheckCustomConfigProperty.FailureThreshold`
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckcustomconfig.html#cfn-servicediscovery-service-healthcheckcustomconfig-failurethreshold
*/

@@ -337,0 +357,0 @@ failureThreshold?: number | cdk.Token;

{
"name": "@aws-cdk/aws-servicediscovery",
"version": "0.25.3",
"version": "0.26.0",
"description": "The CDK Construct Library for AWS::ServiceDiscovery",

@@ -57,17 +57,35 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.25.3",
"cdk-build-tools": "^0.25.3",
"cfn2ts": "^0.25.3",
"pkglint": "^0.25.3"
"@aws-cdk/assert": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cdk-integ-tools": "^0.26.0",
"cfn2ts": "^0.26.0",
"pkglint": "^0.26.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.25.3"
"@aws-cdk/aws-ec2": "^0.26.0",
"@aws-cdk/aws-elasticloadbalancingv2": "^0.26.0",
"@aws-cdk/aws-route53": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/cdk": "^0.25.3"
"@aws-cdk/aws-ec2": "^0.26.0",
"@aws-cdk/aws-elasticloadbalancingv2": "^0.26.0",
"@aws-cdk/aws-route53": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
},
"engines": {
"node": ">= 8.10.0"
},
"awslint": {
"exclude": [
"export:@aws-cdk/aws-servicediscovery.IService",
"export:@aws-cdk/aws-servicediscovery.IInstance",
"import-props-interface:@aws-cdk/aws-servicediscovery.ServiceImportProps",
"import-props-interface:@aws-cdk/aws-servicediscovery.InstanceImportProps",
"resource-interface:@aws-cdk/aws-servicediscovery.IHttpNamespace",
"resource-interface:@aws-cdk/aws-servicediscovery.IPublicDnsNamespace",
"resource-interface:@aws-cdk/aws-servicediscovery.IPrivateDnsNamespace"
]
}
}
## The CDK Construct Library for AWS Service Discovery
This module is part of the [AWS Cloud Development Kit](https://github.com/awslabs/aws-cdk) project.
This package contains constructs for working with **AWS Cloud Map**
AWS Cloud Map is a fully managed service that you can use to create and
maintain a map of the backend services and resources that your applications
depend on.
For further information on AWS Cloud Map,
see the [AWS Cloud Map documentation](https://docs.aws.amazon.com/cloud-map)
The following example creates an AWS Cloud Map namespace that
supports API calls, creates a service in that namespace, and
registers an instance to it:
[Creating a Cloud Map service within an HTTP namespace](test/integ.service-with-http-namespace.lit.ts)
The following example creates an AWS Cloud Map namespace that
supports both API calls and DNS queries within a vpc, creates a
service in that namespace, and registers a loadbalancer as an
instance:
[Creating a Cloud Map service within a Private DNS namespace](test/integ.service-with-private-dns-namespace.lit.ts)
The following example creates an AWS Cloud Map namespace that
supports both API calls and public DNS queries, creates a service in
that namespace, and registers an IP instance:
[Creating a Cloud Map service within a Public namespace](test/integ.service-with-public-dns-namespace.lit.ts)
For DNS namespaces, you can also register instances to services with CNAME records:
[Creating a Cloud Map service within a Public namespace](test/integ.service-with-cname-record.lit.ts)

@@ -36,2 +36,11 @@ {

{
"path": "../aws-ec2"
},
{
"path": "../aws-elasticloadbalancingv2"
},
{
"path": "../aws-route53"
},
{
"path": "../cdk"

@@ -38,0 +47,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc