Class CfnVPCEndpointServicePermissionsPropsMixin
Grant or revoke permissions for service consumers (users, IAM roles, and AWS accounts) to connect to a VPC endpoint service.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnVPCEndpointServicePermissionsPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnVPCEndpointServicePermissionsPropsMixin Inherits Mixin Implements IMixin
Remarks
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
CloudformationResource: AWS::EC2::VPCEndpointServicePermissions
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVPCEndpointServicePermissionsPropsMixin = new CfnVPCEndpointServicePermissionsPropsMixin(new CfnVPCEndpointServicePermissionsMixinProps {
AllowedPrincipals = new [] { "allowedPrincipals" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnVPCEndpointServicePermissionsPropsMixin(ICfnVPCEndpointServicePermissionsMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Grant or revoke permissions for service consumers (users, IAM roles, and AWS accounts) to connect to a VPC endpoint service. |
| Props | Grant or revoke permissions for service consumers (users, IAM roles, and AWS accounts) to connect to a VPC endpoint service. |
| Strategy | Grant or revoke permissions for service consumers (users, IAM roles, and AWS accounts) to connect to a VPC endpoint service. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnVPCEndpointServicePermissionsPropsMixin(ICfnVPCEndpointServicePermissionsMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::VPCEndpointServicePermissions.
public CfnVPCEndpointServicePermissionsPropsMixin(ICfnVPCEndpointServicePermissionsMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnVPCEndpointServicePermissionsMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
CloudformationResource: AWS::EC2::VPCEndpointServicePermissions
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Grant or revoke permissions for service consumers (users, IAM roles, and AWS accounts) to connect to a VPC endpoint service.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
CloudformationResource: AWS::EC2::VPCEndpointServicePermissions
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVPCEndpointServicePermissionsPropsMixin = new CfnVPCEndpointServicePermissionsPropsMixin(new CfnVPCEndpointServicePermissionsMixinProps {
AllowedPrincipals = new [] { "allowedPrincipals" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Grant or revoke permissions for service consumers (users, IAM roles, and AWS accounts) to connect to a VPC endpoint service.
protected virtual ICfnVPCEndpointServicePermissionsMixinProps Props { get; }
Property Value
ICfnVPCEndpointServicePermissionsMixinProps
Remarks
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
CloudformationResource: AWS::EC2::VPCEndpointServicePermissions
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVPCEndpointServicePermissionsPropsMixin = new CfnVPCEndpointServicePermissionsPropsMixin(new CfnVPCEndpointServicePermissionsMixinProps {
AllowedPrincipals = new [] { "allowedPrincipals" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Grant or revoke permissions for service consumers (users, IAM roles, and AWS accounts) to connect to a VPC endpoint service.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
CloudformationResource: AWS::EC2::VPCEndpointServicePermissions
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVPCEndpointServicePermissionsPropsMixin = new CfnVPCEndpointServicePermissionsPropsMixin(new CfnVPCEndpointServicePermissionsMixinProps {
AllowedPrincipals = new [] { "allowedPrincipals" },
ServiceId = "serviceId"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
CloudformationResource: AWS::EC2::VPCEndpointServicePermissions
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.
CloudformationResource: AWS::EC2::VPCEndpointServicePermissions
Mixin: true
ExampleMetadata: fixture=_generated