ServiceAccessSecurityGroupsProperty Struct
The security groups that allow traffic between the Amazon EVS control plane and your VPC for Amazon EVS service access.
If a security group is not specified, Amazon EVS uses the default security group in your account for service access.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evs as evs } from 'aws-cdk-lib';
const serviceAccessSecurityGroupsProperty: evs.CfnEnvironment.ServiceAccessSecurityGroupsProperty = {
securityGroups: ['securityGroups'],
};
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_evs as evs
service_access_security_groups_property = evs.CfnEnvironment.ServiceAccessSecurityGroupsProperty(
security_groups=["securityGroups"]
)
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.evs.*;
ServiceAccessSecurityGroupsProperty serviceAccessSecurityGroupsProperty = ServiceAccessSecurityGroupsProperty.builder()
.securityGroups(List.of("securityGroups"))
.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.EVS;
var serviceAccessSecurityGroupsProperty = new ServiceAccessSecurityGroupsProperty {
SecurityGroups = new [] { "securityGroups" }
};
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"
serviceAccessSecurityGroupsProperty := &ServiceAccessSecurityGroupsProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
}
Properties
securityGroupsoptionalstring[]security_groupsoptionaltyping.List[str]securityGroupsoptionalList<String>SecurityGroupsoptionalstring[]SecurityGroupsoptional*[]*string #The security groups that allow service access.