Skip to content
v2.278.0

CfnInputSecurityGroupProps Struct ​

Properties for defining a CfnInputSecurityGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';

declare const tags: any;
const cfnInputSecurityGroupProps: medialive.CfnInputSecurityGroupProps = {
  tags: tags,
  whitelistRules: [{
    cidr: 'cidr',
  }],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

# tags: Any

cfn_input_security_group_props = medialive.CfnInputSecurityGroupProps(
    tags=tags,
    whitelist_rules=[medialive.CfnInputSecurityGroup.InputWhitelistRuleCidrProperty(
        cidr="cidr"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;

Object tags;

CfnInputSecurityGroupProps cfnInputSecurityGroupProps = CfnInputSecurityGroupProps.builder()
        .tags(tags)
        .whitelistRules(List.of(InputWhitelistRuleCidrProperty.builder()
                .cidr("cidr")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var tags;

var cfnInputSecurityGroupProps = new CfnInputSecurityGroupProps {
    Tags = tags,
    WhitelistRules = new [] { new InputWhitelistRuleCidrProperty {
        Cidr = "cidr"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var tags interface{}

cfnInputSecurityGroupProps := &CfnInputSecurityGroupProps{
	Tags: tags,
	WhitelistRules: []interface{}{
		&InputWhitelistRuleCidrProperty{
			Cidr: jsii.String("cidr"),
		},
	},
}

Properties ​

tagsoptionalanytagsoptionalAnytagsoptionalObjectTagsoptionalobjectTagsoptionalinterface{} #
A collection of tags for this input security group.

Each tag is a key-value pair.

whitelistRulesoptionalIResolvable | IResolvable | CfnInputSecurityGroup.InputWhitelistRuleCidrProperty[]whitelist_rulesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, InputWhitelistRuleCidrProperty]]]whitelistRulesoptionalIResolvableWhitelistRulesoptionalIResolvableWhitelistRulesoptionalinterface{} #
The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses.