Skip to main content

network_insights_access_scope_contents

Creates, updates, deletes, gets or lists a network_insights_access_scope_contents resource.

Overview

Namenetwork_insights_access_scope_contents
TypeResource
Idaws.ec2.network_insights_access_scope_contents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
exclude_pathsstringThe paths to exclude.
match_pathsstringThe paths to match.
network_insights_access_scope_idstringThe ID of the Network Access Scope.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_network_insights_access_scope_contentselectNetworkInsightsAccessScopeId, regionDryRunGets the content for the specified Network Access Scope.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
NetworkInsightsAccessScopeIdstringThe ID of the Network Access Scope.
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

SELECT examples

Gets the content for the specified Network Access Scope.

SELECT
exclude_paths,
match_paths,
network_insights_access_scope_id
FROM aws.ec2.network_insights_access_scope_contents
WHERE NetworkInsightsAccessScopeId = '{{ NetworkInsightsAccessScopeId }}' -- required
AND region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
;