Skip to main content

Class: AWSPrivateLinkInfo

namespace.v1.AWSPrivateLinkInfo

Represents a AWSPrivateLinkInfo.

Implements

Constructors

constructor

new AWSPrivateLinkInfo(properties?): AWSPrivateLinkInfo

Constructs a new AWSPrivateLinkInfo.

Parameters

NameTypeDescription
properties?IAWSPrivateLinkInfoProperties to set

Returns

AWSPrivateLinkInfo

Properties

allowedPrincipalArns

allowedPrincipalArns: string[]

The list of principal arns that are allowed to access the namespace on the private link.

Implementation of

IAWSPrivateLinkInfo.allowedPrincipalArns


vpcEndpointServiceNames

vpcEndpointServiceNames: string[]

The list of vpc endpoint service names that are associated with the namespace.

Implementation of

IAWSPrivateLinkInfo.vpcEndpointServiceNames

Methods

toJSON

toJSON(): Object

Converts this AWSPrivateLinkInfo to JSON.

Returns

Object

JSON object


create

create(properties?): AWSPrivateLinkInfo

Creates a new AWSPrivateLinkInfo instance using the specified properties.

Parameters

NameTypeDescription
properties?IAWSPrivateLinkInfoProperties to set

Returns

AWSPrivateLinkInfo

AWSPrivateLinkInfo instance


decode

decode(reader, length?): AWSPrivateLinkInfo

Decodes a AWSPrivateLinkInfo message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

AWSPrivateLinkInfo

AWSPrivateLinkInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): AWSPrivateLinkInfo

Decodes a AWSPrivateLinkInfo message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

AWSPrivateLinkInfo

AWSPrivateLinkInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified AWSPrivateLinkInfo message. Does not implicitly temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo.verify|verify messages.

Parameters

NameTypeDescription
messageIAWSPrivateLinkInfoAWSPrivateLinkInfo message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified AWSPrivateLinkInfo message, length delimited. Does not implicitly temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo.verify|verify messages.

Parameters

NameTypeDescription
messageIAWSPrivateLinkInfoAWSPrivateLinkInfo message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): AWSPrivateLinkInfo

Creates a AWSPrivateLinkInfo message from a plain object. Also converts values to their respective internal types.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

AWSPrivateLinkInfo

AWSPrivateLinkInfo


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for AWSPrivateLinkInfo

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

Creates a plain object from a AWSPrivateLinkInfo message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageAWSPrivateLinkInfoAWSPrivateLinkInfo
options?IConversionOptionsConversion options

Returns

Object

Plain object