Struct aws_sdk_grafana::types::NetworkAccessConfiguration
source · #[non_exhaustive]pub struct NetworkAccessConfiguration {
pub prefix_list_ids: Option<Vec<String>>,
pub vpce_ids: Option<Vec<String>>,
}
Expand description
The configuration settings for in-bound network access to your workspace.
When this is configured, only listed IP addresses and VPC endpoints will be able to access your workspace. Standard Grafana authentication and authorization are still required.
Access is granted to a caller that is in either the IP address list or the VPC endpoint list - they do not need to be in both.
If this is not configured, or is removed, then all IP addresses and VPC endpoints are allowed. Standard Grafana authentication and authorization are still required.
While both prefixListIds
and vpceIds
are required, you can pass in an empty array of strings for either parameter if you do not want to allow any of that type.
If both are passed as empty arrays, no traffic is allowed to the workspace, because only explicitly allowed connections are accepted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.prefix_list_ids: Option<Vec<String>>
An array of prefix list IDs. A prefix list is a list of CIDR ranges of IP addresses. The IP addresses specified are allowed to access your workspace. If the list is not included in the configuration (passed an empty array) then no IP addresses are allowed to access the workspace. You create a prefix list using the Amazon VPC console.
Prefix list IDs have the format pl-1a2b3c4d
.
For more information about prefix lists, see Group CIDR blocks using managed prefix listsin the Amazon Virtual Private Cloud User Guide.
vpce_ids: Option<Vec<String>>
An array of Amazon VPC endpoint IDs for the workspace. You can create VPC endpoints to your Amazon Managed Grafana workspace for access from within a VPC. If a NetworkAccessConfiguration
is specified then only VPC endpoints specified here are allowed to access the workspace. If you pass in an empty array of strings, then no VPCs are allowed to access the workspace.
VPC endpoint IDs have the format vpce-1a2b3c4d
.
For more information about creating an interface VPC endpoint, see Interface VPC endpoints in the Amazon Managed Grafana User Guide.
The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the com.amazonaws.[region].grafana-workspace
service endpoint). Other VPC endpoints are ignored.
Implementations§
source§impl NetworkAccessConfiguration
impl NetworkAccessConfiguration
sourcepub fn prefix_list_ids(&self) -> Option<&[String]>
pub fn prefix_list_ids(&self) -> Option<&[String]>
An array of prefix list IDs. A prefix list is a list of CIDR ranges of IP addresses. The IP addresses specified are allowed to access your workspace. If the list is not included in the configuration (passed an empty array) then no IP addresses are allowed to access the workspace. You create a prefix list using the Amazon VPC console.
Prefix list IDs have the format pl-1a2b3c4d
.
For more information about prefix lists, see Group CIDR blocks using managed prefix listsin the Amazon Virtual Private Cloud User Guide.
sourcepub fn vpce_ids(&self) -> Option<&[String]>
pub fn vpce_ids(&self) -> Option<&[String]>
An array of Amazon VPC endpoint IDs for the workspace. You can create VPC endpoints to your Amazon Managed Grafana workspace for access from within a VPC. If a NetworkAccessConfiguration
is specified then only VPC endpoints specified here are allowed to access the workspace. If you pass in an empty array of strings, then no VPCs are allowed to access the workspace.
VPC endpoint IDs have the format vpce-1a2b3c4d
.
For more information about creating an interface VPC endpoint, see Interface VPC endpoints in the Amazon Managed Grafana User Guide.
The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the com.amazonaws.[region].grafana-workspace
service endpoint). Other VPC endpoints are ignored.
source§impl NetworkAccessConfiguration
impl NetworkAccessConfiguration
sourcepub fn builder() -> NetworkAccessConfigurationBuilder
pub fn builder() -> NetworkAccessConfigurationBuilder
Creates a new builder-style object to manufacture NetworkAccessConfiguration
.
Trait Implementations§
source§impl Clone for NetworkAccessConfiguration
impl Clone for NetworkAccessConfiguration
source§fn clone(&self) -> NetworkAccessConfiguration
fn clone(&self) -> NetworkAccessConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkAccessConfiguration
impl Debug for NetworkAccessConfiguration
source§impl PartialEq<NetworkAccessConfiguration> for NetworkAccessConfiguration
impl PartialEq<NetworkAccessConfiguration> for NetworkAccessConfiguration
source§fn eq(&self, other: &NetworkAccessConfiguration) -> bool
fn eq(&self, other: &NetworkAccessConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.