Class CfnSecurityGroupIngress
The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups.
Inherited Members
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSecurityGroupIngress : CfnResource, IInspectable, ISecurityGroupIngressRef, IConstruct, IDependable
Syntax (vb)
Public Class CfnSecurityGroupIngress Inherits CfnResource Implements IInspectable, ISecurityGroupIngressRef, IConstruct, IDependable
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
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.AWS.ElastiCache;
var cfnSecurityGroupIngress = new CfnSecurityGroupIngress(this, "MyCfnSecurityGroupIngress", new CfnSecurityGroupIngressProps {
CacheSecurityGroupName = "cacheSecurityGroupName",
Ec2SecurityGroupName = "ec2SecurityGroupName",
// the properties below are optional
Ec2SecurityGroupOwnerId = "ec2SecurityGroupOwnerId"
});
Synopsis
Constructors
CfnSecurityGroupIngress(Construct, string, ICfnSecurityGroupIngressProps) | The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups. |
Properties
AttrId | The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CacheSecurityGroupName | The name of the Cache Security Group to authorize. |
CfnProperties | The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups. |
Ec2SecurityGroupName | Name of the EC2 Security Group to include in the authorization. |
Ec2SecurityGroupOwnerId | Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property. |
SecurityGroupIngressRef | A reference to a SecurityGroupIngress resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups. |
Constructors
CfnSecurityGroupIngress(Construct, string, ICfnSecurityGroupIngressProps)
The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups.
public CfnSecurityGroupIngress(Construct scope, string id, ICfnSecurityGroupIngressProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnSecurityGroupIngressProps
Resource properties.
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
Properties
AttrId
The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
CacheSecurityGroupName
The name of the Cache Security Group to authorize.
public virtual string CacheSecurityGroupName { get; set; }
Property Value
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
Ec2SecurityGroupName
Name of the EC2 Security Group to include in the authorization.
public virtual string Ec2SecurityGroupName { get; set; }
Property Value
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
Ec2SecurityGroupOwnerId
Specifies the Amazon Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property.
public virtual string? Ec2SecurityGroupOwnerId { get; set; }
Property Value
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
SecurityGroupIngressRef
A reference to a SecurityGroupIngress resource.
public virtual ISecurityGroupIngressReference SecurityGroupIngressRef { get; }
Property Value
ISecurityGroupIngressReference
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::ElastiCache::SecurityGroupIngress type authorizes ingress to a cache security group from hosts in specified Amazon EC2 security groups.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
For more information about ElastiCache security group ingress, go to AuthorizeCacheSecurityGroupIngress in the Amazon ElastiCache API Reference Guide .
Updates are not supported.
CloudformationResource: AWS::ElastiCache::SecurityGroupIngress
ExampleMetadata: fixture=_generated