Skip to content

Type definitions#

Index > FMS > Type definitions

Auto-generated documentation for FMS type annotations stubs module mypy-boto3-fms.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AccountScopeUnionTypeDef#

# AccountScopeUnionTypeDef definition

AccountScopeUnionTypeDef = Union[
    AccountScopeTypeDef,  # (1)
    AccountScopeOutputTypeDef,  # (2)
]
  1. See AccountScopeTypeDef
  2. See AccountScopeOutputTypeDef

OrganizationalUnitScopeUnionTypeDef#

# OrganizationalUnitScopeUnionTypeDef definition

OrganizationalUnitScopeUnionTypeDef = Union[
    OrganizationalUnitScopeTypeDef,  # (1)
    OrganizationalUnitScopeOutputTypeDef,  # (2)
]
  1. See OrganizationalUnitScopeTypeDef
  2. See OrganizationalUnitScopeOutputTypeDef

PolicyTypeScopeUnionTypeDef#

# PolicyTypeScopeUnionTypeDef definition

PolicyTypeScopeUnionTypeDef = Union[
    PolicyTypeScopeTypeDef,  # (1)
    PolicyTypeScopeOutputTypeDef,  # (2)
]
  1. See PolicyTypeScopeTypeDef
  2. See PolicyTypeScopeOutputTypeDef

RegionScopeUnionTypeDef#

# RegionScopeUnionTypeDef definition

RegionScopeUnionTypeDef = Union[
    RegionScopeTypeDef,  # (1)
    RegionScopeOutputTypeDef,  # (2)
]
  1. See RegionScopeTypeDef
  2. See RegionScopeOutputTypeDef

NetworkAclEntrySetUnionTypeDef#

# NetworkAclEntrySetUnionTypeDef definition

NetworkAclEntrySetUnionTypeDef = Union[
    NetworkAclEntrySetTypeDef,  # (1)
    NetworkAclEntrySetOutputTypeDef,  # (2)
]
  1. See NetworkAclEntrySetTypeDef
  2. See NetworkAclEntrySetOutputTypeDef

NetworkAclCommonPolicyUnionTypeDef#

# NetworkAclCommonPolicyUnionTypeDef definition

NetworkAclCommonPolicyUnionTypeDef = Union[
    NetworkAclCommonPolicyTypeDef,  # (1)
    NetworkAclCommonPolicyOutputTypeDef,  # (2)
]
  1. See NetworkAclCommonPolicyTypeDef
  2. See NetworkAclCommonPolicyOutputTypeDef

PolicyOptionUnionTypeDef#

# PolicyOptionUnionTypeDef definition

PolicyOptionUnionTypeDef = Union[
    PolicyOptionTypeDef,  # (1)
    PolicyOptionOutputTypeDef,  # (2)
]
  1. See PolicyOptionTypeDef
  2. See PolicyOptionOutputTypeDef

SecurityServicePolicyDataUnionTypeDef#

# SecurityServicePolicyDataUnionTypeDef definition

SecurityServicePolicyDataUnionTypeDef = Union[
    SecurityServicePolicyDataTypeDef,  # (1)
    SecurityServicePolicyDataOutputTypeDef,  # (2)
]
  1. See SecurityServicePolicyDataTypeDef
  2. See SecurityServicePolicyDataOutputTypeDef

AccountScopeOutputTypeDef#

# AccountScopeOutputTypeDef definition

class AccountScopeOutputTypeDef(TypedDict):
    Accounts: NotRequired[list[str]],
    AllAccountsEnabled: NotRequired[bool],
    ExcludeSpecifiedAccounts: NotRequired[bool],

AccountScopeTypeDef#

# AccountScopeTypeDef definition

class AccountScopeTypeDef(TypedDict):
    Accounts: NotRequired[Sequence[str]],
    AllAccountsEnabled: NotRequired[bool],
    ExcludeSpecifiedAccounts: NotRequired[bool],

ActionTargetTypeDef#

# ActionTargetTypeDef definition

class ActionTargetTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    Description: NotRequired[str],

AdminAccountSummaryTypeDef#

# AdminAccountSummaryTypeDef definition

class AdminAccountSummaryTypeDef(TypedDict):
    AdminAccount: NotRequired[str],
    DefaultAdmin: NotRequired[bool],
    Status: NotRequired[OrganizationStatusType],  # (1)
  1. See OrganizationStatusType

OrganizationalUnitScopeOutputTypeDef#

# OrganizationalUnitScopeOutputTypeDef definition

class OrganizationalUnitScopeOutputTypeDef(TypedDict):
    OrganizationalUnits: NotRequired[list[str]],
    AllOrganizationalUnitsEnabled: NotRequired[bool],
    ExcludeSpecifiedOrganizationalUnits: NotRequired[bool],

PolicyTypeScopeOutputTypeDef#

# PolicyTypeScopeOutputTypeDef definition

class PolicyTypeScopeOutputTypeDef(TypedDict):
    PolicyTypes: NotRequired[list[SecurityServiceTypeType]],  # (1)
    AllPolicyTypesEnabled: NotRequired[bool],
  1. See SecurityServiceTypeType

RegionScopeOutputTypeDef#

# RegionScopeOutputTypeDef definition

class RegionScopeOutputTypeDef(TypedDict):
    Regions: NotRequired[list[str]],
    AllRegionsEnabled: NotRequired[bool],

AppTypeDef#

# AppTypeDef definition

class AppTypeDef(TypedDict):
    AppName: str,
    Protocol: str,
    Port: int,

AssociateAdminAccountRequestRequestTypeDef#

# AssociateAdminAccountRequestRequestTypeDef definition

class AssociateAdminAccountRequestRequestTypeDef(TypedDict):
    AdminAccount: str,

AssociateThirdPartyFirewallRequestRequestTypeDef#

# AssociateThirdPartyFirewallRequestRequestTypeDef definition

class AssociateThirdPartyFirewallRequestRequestTypeDef(TypedDict):
    ThirdPartyFirewall: ThirdPartyFirewallType,  # (1)
  1. See ThirdPartyFirewallType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

AwsEc2NetworkInterfaceViolationTypeDef#

# AwsEc2NetworkInterfaceViolationTypeDef definition

class AwsEc2NetworkInterfaceViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    ViolatingSecurityGroups: NotRequired[list[str]],

PartialMatchTypeDef#

# PartialMatchTypeDef definition

class PartialMatchTypeDef(TypedDict):
    Reference: NotRequired[str],
    TargetViolationReasons: NotRequired[list[str]],

BatchAssociateResourceRequestRequestTypeDef#

# BatchAssociateResourceRequestRequestTypeDef definition

class BatchAssociateResourceRequestRequestTypeDef(TypedDict):
    ResourceSetIdentifier: str,
    Items: Sequence[str],

FailedItemTypeDef#

# FailedItemTypeDef definition

class FailedItemTypeDef(TypedDict):
    URI: NotRequired[str],
    Reason: NotRequired[FailedItemReasonType],  # (1)
  1. See FailedItemReasonType

BatchDisassociateResourceRequestRequestTypeDef#

# BatchDisassociateResourceRequestRequestTypeDef definition

class BatchDisassociateResourceRequestRequestTypeDef(TypedDict):
    ResourceSetIdentifier: str,
    Items: Sequence[str],

ComplianceViolatorTypeDef#

# ComplianceViolatorTypeDef definition

class ComplianceViolatorTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    ViolationReason: NotRequired[ViolationReasonType],  # (1)
    ResourceType: NotRequired[str],
    Metadata: NotRequired[dict[str, str]],
  1. See ViolationReasonType

DeleteAppsListRequestRequestTypeDef#

# DeleteAppsListRequestRequestTypeDef definition

class DeleteAppsListRequestRequestTypeDef(TypedDict):
    ListId: str,

DeletePolicyRequestRequestTypeDef#

# DeletePolicyRequestRequestTypeDef definition

class DeletePolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    DeleteAllPolicyResources: NotRequired[bool],

DeleteProtocolsListRequestRequestTypeDef#

# DeleteProtocolsListRequestRequestTypeDef definition

class DeleteProtocolsListRequestRequestTypeDef(TypedDict):
    ListId: str,

DeleteResourceSetRequestRequestTypeDef#

# DeleteResourceSetRequestRequestTypeDef definition

class DeleteResourceSetRequestRequestTypeDef(TypedDict):
    Identifier: str,

DisassociateThirdPartyFirewallRequestRequestTypeDef#

# DisassociateThirdPartyFirewallRequestRequestTypeDef definition

class DisassociateThirdPartyFirewallRequestRequestTypeDef(TypedDict):
    ThirdPartyFirewall: ThirdPartyFirewallType,  # (1)
  1. See ThirdPartyFirewallType

DiscoveredResourceTypeDef#

# DiscoveredResourceTypeDef definition

class DiscoveredResourceTypeDef(TypedDict):
    URI: NotRequired[str],
    AccountId: NotRequired[str],
    Type: NotRequired[str],
    Name: NotRequired[str],

DnsDuplicateRuleGroupViolationTypeDef#

# DnsDuplicateRuleGroupViolationTypeDef definition

class DnsDuplicateRuleGroupViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    ViolationTargetDescription: NotRequired[str],

DnsRuleGroupLimitExceededViolationTypeDef#

# DnsRuleGroupLimitExceededViolationTypeDef definition

class DnsRuleGroupLimitExceededViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    ViolationTargetDescription: NotRequired[str],
    NumberOfRuleGroupsAlreadyAssociated: NotRequired[int],

DnsRuleGroupPriorityConflictViolationTypeDef#

# DnsRuleGroupPriorityConflictViolationTypeDef definition

class DnsRuleGroupPriorityConflictViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    ViolationTargetDescription: NotRequired[str],
    ConflictingPriority: NotRequired[int],
    ConflictingPolicyId: NotRequired[str],
    UnavailablePriorities: NotRequired[list[int]],

EvaluationResultTypeDef#

# EvaluationResultTypeDef definition

class EvaluationResultTypeDef(TypedDict):
    ComplianceStatus: NotRequired[PolicyComplianceStatusTypeType],  # (1)
    ViolatorCount: NotRequired[int],
    EvaluationLimitExceeded: NotRequired[bool],
  1. See PolicyComplianceStatusTypeType

ExpectedRouteTypeDef#

# ExpectedRouteTypeDef definition

class ExpectedRouteTypeDef(TypedDict):
    IpV4Cidr: NotRequired[str],
    PrefixListId: NotRequired[str],
    IpV6Cidr: NotRequired[str],
    ContributingSubnets: NotRequired[list[str]],
    AllowedTargets: NotRequired[list[str]],
    RouteTableId: NotRequired[str],

FMSPolicyUpdateFirewallCreationConfigActionTypeDef#

# FMSPolicyUpdateFirewallCreationConfigActionTypeDef definition

class FMSPolicyUpdateFirewallCreationConfigActionTypeDef(TypedDict):
    Description: NotRequired[str],
    FirewallCreationConfig: NotRequired[str],

FirewallSubnetIsOutOfScopeViolationTypeDef#

# FirewallSubnetIsOutOfScopeViolationTypeDef definition

class FirewallSubnetIsOutOfScopeViolationTypeDef(TypedDict):
    FirewallSubnetId: NotRequired[str],
    VpcId: NotRequired[str],
    SubnetAvailabilityZone: NotRequired[str],
    SubnetAvailabilityZoneId: NotRequired[str],
    VpcEndpointId: NotRequired[str],

FirewallSubnetMissingVPCEndpointViolationTypeDef#

# FirewallSubnetMissingVPCEndpointViolationTypeDef definition

class FirewallSubnetMissingVPCEndpointViolationTypeDef(TypedDict):
    FirewallSubnetId: NotRequired[str],
    VpcId: NotRequired[str],
    SubnetAvailabilityZone: NotRequired[str],
    SubnetAvailabilityZoneId: NotRequired[str],

GetAdminScopeRequestRequestTypeDef#

# GetAdminScopeRequestRequestTypeDef definition

class GetAdminScopeRequestRequestTypeDef(TypedDict):
    AdminAccount: str,

GetAppsListRequestRequestTypeDef#

# GetAppsListRequestRequestTypeDef definition

class GetAppsListRequestRequestTypeDef(TypedDict):
    ListId: str,
    DefaultList: NotRequired[bool],

GetComplianceDetailRequestRequestTypeDef#

# GetComplianceDetailRequestRequestTypeDef definition

class GetComplianceDetailRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    MemberAccount: str,

GetPolicyRequestRequestTypeDef#

# GetPolicyRequestRequestTypeDef definition

class GetPolicyRequestRequestTypeDef(TypedDict):
    PolicyId: str,

GetProtocolsListRequestRequestTypeDef#

# GetProtocolsListRequestRequestTypeDef definition

class GetProtocolsListRequestRequestTypeDef(TypedDict):
    ListId: str,
    DefaultList: NotRequired[bool],

ProtocolsListDataOutputTypeDef#

# ProtocolsListDataOutputTypeDef definition

class ProtocolsListDataOutputTypeDef(TypedDict):
    ListName: str,
    ProtocolsList: list[str],
    ListId: NotRequired[str],
    ListUpdateToken: NotRequired[str],
    CreateTime: NotRequired[datetime],
    LastUpdateTime: NotRequired[datetime],
    PreviousProtocolsList: NotRequired[dict[str, list[str]]],

GetResourceSetRequestRequestTypeDef#

# GetResourceSetRequestRequestTypeDef definition

class GetResourceSetRequestRequestTypeDef(TypedDict):
    Identifier: str,

ResourceSetOutputTypeDef#

# ResourceSetOutputTypeDef definition

class ResourceSetOutputTypeDef(TypedDict):
    Name: str,
    ResourceTypeList: list[str],
    Id: NotRequired[str],
    Description: NotRequired[str],
    UpdateToken: NotRequired[str],
    LastUpdateTime: NotRequired[datetime],
    ResourceSetStatus: NotRequired[ResourceSetStatusType],  # (1)
  1. See ResourceSetStatusType

GetThirdPartyFirewallAssociationStatusRequestRequestTypeDef#

# GetThirdPartyFirewallAssociationStatusRequestRequestTypeDef definition

class GetThirdPartyFirewallAssociationStatusRequestRequestTypeDef(TypedDict):
    ThirdPartyFirewall: ThirdPartyFirewallType,  # (1)
  1. See ThirdPartyFirewallType

GetViolationDetailsRequestRequestTypeDef#

# GetViolationDetailsRequestRequestTypeDef definition

class GetViolationDetailsRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    MemberAccount: str,
    ResourceId: str,
    ResourceType: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAdminAccountsForOrganizationRequestRequestTypeDef#

# ListAdminAccountsForOrganizationRequestRequestTypeDef definition

class ListAdminAccountsForOrganizationRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListAdminsManagingAccountRequestRequestTypeDef#

# ListAdminsManagingAccountRequestRequestTypeDef definition

class ListAdminsManagingAccountRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListAppsListsRequestRequestTypeDef#

# ListAppsListsRequestRequestTypeDef definition

class ListAppsListsRequestRequestTypeDef(TypedDict):
    MaxResults: int,
    DefaultLists: NotRequired[bool],
    NextToken: NotRequired[str],

ListComplianceStatusRequestRequestTypeDef#

# ListComplianceStatusRequestRequestTypeDef definition

class ListComplianceStatusRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListDiscoveredResourcesRequestRequestTypeDef#

# ListDiscoveredResourcesRequestRequestTypeDef definition

class ListDiscoveredResourcesRequestRequestTypeDef(TypedDict):
    MemberAccountIds: Sequence[str],
    ResourceType: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListMemberAccountsRequestRequestTypeDef#

# ListMemberAccountsRequestRequestTypeDef definition

class ListMemberAccountsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListPoliciesRequestRequestTypeDef#

# ListPoliciesRequestRequestTypeDef definition

class ListPoliciesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PolicySummaryTypeDef#

# PolicySummaryTypeDef definition

class PolicySummaryTypeDef(TypedDict):
    PolicyArn: NotRequired[str],
    PolicyId: NotRequired[str],
    PolicyName: NotRequired[str],
    ResourceType: NotRequired[str],
    SecurityServiceType: NotRequired[SecurityServiceTypeType],  # (1)
    RemediationEnabled: NotRequired[bool],
    DeleteUnusedFMManagedResources: NotRequired[bool],
    PolicyStatus: NotRequired[CustomerPolicyStatusType],  # (2)
  1. See SecurityServiceTypeType
  2. See CustomerPolicyStatusType

ListProtocolsListsRequestRequestTypeDef#

# ListProtocolsListsRequestRequestTypeDef definition

class ListProtocolsListsRequestRequestTypeDef(TypedDict):
    MaxResults: int,
    DefaultLists: NotRequired[bool],
    NextToken: NotRequired[str],

ProtocolsListDataSummaryTypeDef#

# ProtocolsListDataSummaryTypeDef definition

class ProtocolsListDataSummaryTypeDef(TypedDict):
    ListArn: NotRequired[str],
    ListId: NotRequired[str],
    ListName: NotRequired[str],
    ProtocolsList: NotRequired[list[str]],

ListResourceSetResourcesRequestRequestTypeDef#

# ListResourceSetResourcesRequestRequestTypeDef definition

class ListResourceSetResourcesRequestRequestTypeDef(TypedDict):
    Identifier: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ResourceTypeDef#

# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    URI: str,
    AccountId: NotRequired[str],

ListResourceSetsRequestRequestTypeDef#

# ListResourceSetsRequestRequestTypeDef definition

class ListResourceSetsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ResourceSetSummaryTypeDef#

# ResourceSetSummaryTypeDef definition

class ResourceSetSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    LastUpdateTime: NotRequired[datetime],
    ResourceSetStatus: NotRequired[ResourceSetStatusType],  # (1)
  1. See ResourceSetStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

ListThirdPartyFirewallFirewallPoliciesRequestRequestTypeDef#

# ListThirdPartyFirewallFirewallPoliciesRequestRequestTypeDef definition

class ListThirdPartyFirewallFirewallPoliciesRequestRequestTypeDef(TypedDict):
    ThirdPartyFirewall: ThirdPartyFirewallType,  # (1)
    MaxResults: int,
    NextToken: NotRequired[str],
  1. See ThirdPartyFirewallType

ThirdPartyFirewallFirewallPolicyTypeDef#

# ThirdPartyFirewallFirewallPolicyTypeDef definition

class ThirdPartyFirewallFirewallPolicyTypeDef(TypedDict):
    FirewallPolicyId: NotRequired[str],
    FirewallPolicyName: NotRequired[str],

NetworkAclIcmpTypeCodeTypeDef#

# NetworkAclIcmpTypeCodeTypeDef definition

class NetworkAclIcmpTypeCodeTypeDef(TypedDict):
    Code: NotRequired[int],
    Type: NotRequired[int],

NetworkAclPortRangeTypeDef#

# NetworkAclPortRangeTypeDef definition

class NetworkAclPortRangeTypeDef(TypedDict):
    From: NotRequired[int],
    To: NotRequired[int],

RouteTypeDef#

# RouteTypeDef definition

class RouteTypeDef(TypedDict):
    DestinationType: NotRequired[DestinationTypeType],  # (1)
    TargetType: NotRequired[TargetTypeType],  # (2)
    Destination: NotRequired[str],
    Target: NotRequired[str],
  1. See DestinationTypeType
  2. See TargetTypeType

NetworkFirewallMissingExpectedRTViolationTypeDef#

# NetworkFirewallMissingExpectedRTViolationTypeDef definition

class NetworkFirewallMissingExpectedRTViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    VPC: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    CurrentRouteTable: NotRequired[str],
    ExpectedRouteTable: NotRequired[str],

NetworkFirewallMissingFirewallViolationTypeDef#

# NetworkFirewallMissingFirewallViolationTypeDef definition

class NetworkFirewallMissingFirewallViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    VPC: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    TargetViolationReason: NotRequired[str],

NetworkFirewallMissingSubnetViolationTypeDef#

# NetworkFirewallMissingSubnetViolationTypeDef definition

class NetworkFirewallMissingSubnetViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    VPC: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    TargetViolationReason: NotRequired[str],

StatefulEngineOptionsTypeDef#

# StatefulEngineOptionsTypeDef definition

class StatefulEngineOptionsTypeDef(TypedDict):
    RuleOrder: NotRequired[RuleOrderType],  # (1)
    StreamExceptionPolicy: NotRequired[StreamExceptionPolicyType],  # (2)
  1. See RuleOrderType
  2. See StreamExceptionPolicyType

StatelessRuleGroupTypeDef#

# StatelessRuleGroupTypeDef definition

class StatelessRuleGroupTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    ResourceId: NotRequired[str],
    Priority: NotRequired[int],

NetworkFirewallPolicyTypeDef#

# NetworkFirewallPolicyTypeDef definition

class NetworkFirewallPolicyTypeDef(TypedDict):
    FirewallDeploymentModel: NotRequired[FirewallDeploymentModelType],  # (1)
  1. See FirewallDeploymentModelType

NetworkFirewallStatefulRuleGroupOverrideTypeDef#

# NetworkFirewallStatefulRuleGroupOverrideTypeDef definition

class NetworkFirewallStatefulRuleGroupOverrideTypeDef(TypedDict):
    Action: NotRequired[NetworkFirewallOverrideActionType],  # (1)
  1. See NetworkFirewallOverrideActionType

OrganizationalUnitScopeTypeDef#

# OrganizationalUnitScopeTypeDef definition

class OrganizationalUnitScopeTypeDef(TypedDict):
    OrganizationalUnits: NotRequired[Sequence[str]],
    AllOrganizationalUnitsEnabled: NotRequired[bool],
    ExcludeSpecifiedOrganizationalUnits: NotRequired[bool],

ThirdPartyFirewallPolicyTypeDef#

# ThirdPartyFirewallPolicyTypeDef definition

class ThirdPartyFirewallPolicyTypeDef(TypedDict):
    FirewallDeploymentModel: NotRequired[FirewallDeploymentModelType],  # (1)
  1. See FirewallDeploymentModelType

ResourceTagTypeDef#

# ResourceTagTypeDef definition

class ResourceTagTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

PolicyTypeScopeTypeDef#

# PolicyTypeScopeTypeDef definition

class PolicyTypeScopeTypeDef(TypedDict):
    PolicyTypes: NotRequired[Sequence[SecurityServiceTypeType]],  # (1)
    AllPolicyTypesEnabled: NotRequired[bool],
  1. See SecurityServiceTypeType

PutNotificationChannelRequestRequestTypeDef#

# PutNotificationChannelRequestRequestTypeDef definition

class PutNotificationChannelRequestRequestTypeDef(TypedDict):
    SnsTopicArn: str,
    SnsRoleName: str,

RegionScopeTypeDef#

# RegionScopeTypeDef definition

class RegionScopeTypeDef(TypedDict):
    Regions: NotRequired[Sequence[str]],
    AllRegionsEnabled: NotRequired[bool],

ThirdPartyFirewallMissingExpectedRouteTableViolationTypeDef#

# ThirdPartyFirewallMissingExpectedRouteTableViolationTypeDef definition

class ThirdPartyFirewallMissingExpectedRouteTableViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    VPC: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    CurrentRouteTable: NotRequired[str],
    ExpectedRouteTable: NotRequired[str],

ThirdPartyFirewallMissingFirewallViolationTypeDef#

# ThirdPartyFirewallMissingFirewallViolationTypeDef definition

class ThirdPartyFirewallMissingFirewallViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    VPC: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    TargetViolationReason: NotRequired[str],

ThirdPartyFirewallMissingSubnetViolationTypeDef#

# ThirdPartyFirewallMissingSubnetViolationTypeDef definition

class ThirdPartyFirewallMissingSubnetViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    VPC: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    TargetViolationReason: NotRequired[str],

WebACLHasIncompatibleConfigurationViolationTypeDef#

# WebACLHasIncompatibleConfigurationViolationTypeDef definition

class WebACLHasIncompatibleConfigurationViolationTypeDef(TypedDict):
    WebACLArn: NotRequired[str],
    Description: NotRequired[str],

WebACLHasOutOfScopeResourcesViolationTypeDef#

# WebACLHasOutOfScopeResourcesViolationTypeDef definition

class WebACLHasOutOfScopeResourcesViolationTypeDef(TypedDict):
    WebACLArn: NotRequired[str],
    OutOfScopeResourceList: NotRequired[list[str]],

SecurityGroupRuleDescriptionTypeDef#

# SecurityGroupRuleDescriptionTypeDef definition

class SecurityGroupRuleDescriptionTypeDef(TypedDict):
    IPV4Range: NotRequired[str],
    IPV6Range: NotRequired[str],
    PrefixListId: NotRequired[str],
    Protocol: NotRequired[str],
    FromPort: NotRequired[int],
    ToPort: NotRequired[int],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

CreateNetworkAclActionTypeDef#

# CreateNetworkAclActionTypeDef definition

class CreateNetworkAclActionTypeDef(TypedDict):
    Description: NotRequired[str],
    Vpc: NotRequired[ActionTargetTypeDef],  # (1)
    FMSCanRemediate: NotRequired[bool],
  1. See ActionTargetTypeDef

EC2AssociateRouteTableActionTypeDef#

# EC2AssociateRouteTableActionTypeDef definition

class EC2AssociateRouteTableActionTypeDef(TypedDict):
    RouteTableId: ActionTargetTypeDef,  # (1)
    Description: NotRequired[str],
    SubnetId: NotRequired[ActionTargetTypeDef],  # (1)
    GatewayId: NotRequired[ActionTargetTypeDef],  # (1)
  1. See ActionTargetTypeDef
  2. See ActionTargetTypeDef
  3. See ActionTargetTypeDef

EC2CopyRouteTableActionTypeDef#

# EC2CopyRouteTableActionTypeDef definition

class EC2CopyRouteTableActionTypeDef(TypedDict):
    VpcId: ActionTargetTypeDef,  # (1)
    RouteTableId: ActionTargetTypeDef,  # (1)
    Description: NotRequired[str],
  1. See ActionTargetTypeDef
  2. See ActionTargetTypeDef

EC2CreateRouteActionTypeDef#

# EC2CreateRouteActionTypeDef definition

class EC2CreateRouteActionTypeDef(TypedDict):
    RouteTableId: ActionTargetTypeDef,  # (1)
    Description: NotRequired[str],
    DestinationCidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
    VpcEndpointId: NotRequired[ActionTargetTypeDef],  # (1)
    GatewayId: NotRequired[ActionTargetTypeDef],  # (1)
  1. See ActionTargetTypeDef
  2. See ActionTargetTypeDef
  3. See ActionTargetTypeDef

EC2CreateRouteTableActionTypeDef#

# EC2CreateRouteTableActionTypeDef definition

class EC2CreateRouteTableActionTypeDef(TypedDict):
    VpcId: ActionTargetTypeDef,  # (1)
    Description: NotRequired[str],
  1. See ActionTargetTypeDef

EC2DeleteRouteActionTypeDef#

# EC2DeleteRouteActionTypeDef definition

class EC2DeleteRouteActionTypeDef(TypedDict):
    RouteTableId: ActionTargetTypeDef,  # (1)
    Description: NotRequired[str],
    DestinationCidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
  1. See ActionTargetTypeDef

EC2ReplaceRouteActionTypeDef#

# EC2ReplaceRouteActionTypeDef definition

class EC2ReplaceRouteActionTypeDef(TypedDict):
    RouteTableId: ActionTargetTypeDef,  # (1)
    Description: NotRequired[str],
    DestinationCidrBlock: NotRequired[str],
    DestinationPrefixListId: NotRequired[str],
    DestinationIpv6CidrBlock: NotRequired[str],
    GatewayId: NotRequired[ActionTargetTypeDef],  # (1)
  1. See ActionTargetTypeDef
  2. See ActionTargetTypeDef

EC2ReplaceRouteTableAssociationActionTypeDef#

# EC2ReplaceRouteTableAssociationActionTypeDef definition

class EC2ReplaceRouteTableAssociationActionTypeDef(TypedDict):
    AssociationId: ActionTargetTypeDef,  # (1)
    RouteTableId: ActionTargetTypeDef,  # (1)
    Description: NotRequired[str],
  1. See ActionTargetTypeDef
  2. See ActionTargetTypeDef

ReplaceNetworkAclAssociationActionTypeDef#

# ReplaceNetworkAclAssociationActionTypeDef definition

class ReplaceNetworkAclAssociationActionTypeDef(TypedDict):
    Description: NotRequired[str],
    AssociationId: NotRequired[ActionTargetTypeDef],  # (1)
    NetworkAclId: NotRequired[ActionTargetTypeDef],  # (1)
    FMSCanRemediate: NotRequired[bool],
  1. See ActionTargetTypeDef
  2. See ActionTargetTypeDef

AdminScopeOutputTypeDef#

# AdminScopeOutputTypeDef definition

class AdminScopeOutputTypeDef(TypedDict):
    AccountScope: NotRequired[AccountScopeOutputTypeDef],  # (1)
    OrganizationalUnitScope: NotRequired[OrganizationalUnitScopeOutputTypeDef],  # (2)
    RegionScope: NotRequired[RegionScopeOutputTypeDef],  # (3)
    PolicyTypeScope: NotRequired[PolicyTypeScopeOutputTypeDef],  # (4)
  1. See AccountScopeOutputTypeDef
  2. See OrganizationalUnitScopeOutputTypeDef
  3. See RegionScopeOutputTypeDef
  4. See PolicyTypeScopeOutputTypeDef

AppsListDataOutputTypeDef#

# AppsListDataOutputTypeDef definition

class AppsListDataOutputTypeDef(TypedDict):
    ListName: str,
    AppsList: list[AppTypeDef],  # (1)
    ListId: NotRequired[str],
    ListUpdateToken: NotRequired[str],
    CreateTime: NotRequired[datetime],
    LastUpdateTime: NotRequired[datetime],
    PreviousAppsList: NotRequired[dict[str, list[AppTypeDef]]],  # (2)
  1. See AppTypeDef
  2. See AppTypeDef

AppsListDataSummaryTypeDef#

# AppsListDataSummaryTypeDef definition

class AppsListDataSummaryTypeDef(TypedDict):
    ListArn: NotRequired[str],
    ListId: NotRequired[str],
    ListName: NotRequired[str],
    AppsList: NotRequired[list[AppTypeDef]],  # (1)
  1. See AppTypeDef

AppsListDataTypeDef#

# AppsListDataTypeDef definition

class AppsListDataTypeDef(TypedDict):
    ListName: str,
    AppsList: Sequence[AppTypeDef],  # (1)
    ListId: NotRequired[str],
    ListUpdateToken: NotRequired[str],
    CreateTime: NotRequired[TimestampTypeDef],
    LastUpdateTime: NotRequired[TimestampTypeDef],
    PreviousAppsList: NotRequired[Mapping[str, Sequence[AppTypeDef]]],  # (2)
  1. See AppTypeDef
  2. See AppTypeDef

GetProtectionStatusRequestRequestTypeDef#

# GetProtectionStatusRequestRequestTypeDef definition

class GetProtectionStatusRequestRequestTypeDef(TypedDict):
    PolicyId: str,
    MemberAccountId: NotRequired[str],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ProtocolsListDataTypeDef#

# ProtocolsListDataTypeDef definition

class ProtocolsListDataTypeDef(TypedDict):
    ListName: str,
    ProtocolsList: Sequence[str],
    ListId: NotRequired[str],
    ListUpdateToken: NotRequired[str],
    CreateTime: NotRequired[TimestampTypeDef],
    LastUpdateTime: NotRequired[TimestampTypeDef],
    PreviousProtocolsList: NotRequired[Mapping[str, Sequence[str]]],

ResourceSetTypeDef#

# ResourceSetTypeDef definition

class ResourceSetTypeDef(TypedDict):
    Name: str,
    ResourceTypeList: Sequence[str],
    Id: NotRequired[str],
    Description: NotRequired[str],
    UpdateToken: NotRequired[str],
    LastUpdateTime: NotRequired[TimestampTypeDef],
    ResourceSetStatus: NotRequired[ResourceSetStatusType],  # (1)
  1. See ResourceSetStatusType

AssociateThirdPartyFirewallResponseTypeDef#

# AssociateThirdPartyFirewallResponseTypeDef definition

class AssociateThirdPartyFirewallResponseTypeDef(TypedDict):
    ThirdPartyFirewallStatus: ThirdPartyFirewallAssociationStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ThirdPartyFirewallAssociationStatusType
  2. See ResponseMetadataTypeDef

DisassociateThirdPartyFirewallResponseTypeDef#

# DisassociateThirdPartyFirewallResponseTypeDef definition

class DisassociateThirdPartyFirewallResponseTypeDef(TypedDict):
    ThirdPartyFirewallStatus: ThirdPartyFirewallAssociationStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ThirdPartyFirewallAssociationStatusType
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAdminAccountResponseTypeDef#

# GetAdminAccountResponseTypeDef definition

class GetAdminAccountResponseTypeDef(TypedDict):
    AdminAccount: str,
    RoleStatus: AccountRoleStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccountRoleStatusType
  2. See ResponseMetadataTypeDef

GetNotificationChannelResponseTypeDef#

# GetNotificationChannelResponseTypeDef definition

class GetNotificationChannelResponseTypeDef(TypedDict):
    SnsTopicArn: str,
    SnsRoleName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetProtectionStatusResponseTypeDef#

# GetProtectionStatusResponseTypeDef definition

class GetProtectionStatusResponseTypeDef(TypedDict):
    AdminAccountId: str,
    ServiceType: SecurityServiceTypeType,  # (1)
    Data: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See SecurityServiceTypeType
  2. See ResponseMetadataTypeDef

GetThirdPartyFirewallAssociationStatusResponseTypeDef#

# GetThirdPartyFirewallAssociationStatusResponseTypeDef definition

class GetThirdPartyFirewallAssociationStatusResponseTypeDef(TypedDict):
    ThirdPartyFirewallStatus: ThirdPartyFirewallAssociationStatusType,  # (1)
    MarketplaceOnboardingStatus: MarketplaceSubscriptionOnboardingStatusType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ThirdPartyFirewallAssociationStatusType
  2. See MarketplaceSubscriptionOnboardingStatusType
  3. See ResponseMetadataTypeDef

ListAdminAccountsForOrganizationResponseTypeDef#

# ListAdminAccountsForOrganizationResponseTypeDef definition

class ListAdminAccountsForOrganizationResponseTypeDef(TypedDict):
    AdminAccounts: list[AdminAccountSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See AdminAccountSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListAdminsManagingAccountResponseTypeDef#

# ListAdminsManagingAccountResponseTypeDef definition

class ListAdminsManagingAccountResponseTypeDef(TypedDict):
    AdminAccounts: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListMemberAccountsResponseTypeDef#

# ListMemberAccountsResponseTypeDef definition

class ListMemberAccountsResponseTypeDef(TypedDict):
    MemberAccounts: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

AwsEc2InstanceViolationTypeDef#

# AwsEc2InstanceViolationTypeDef definition

class AwsEc2InstanceViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    AwsEc2NetworkInterfaceViolations: NotRequired[list[AwsEc2NetworkInterfaceViolationTypeDef]],  # (1)
  1. See AwsEc2NetworkInterfaceViolationTypeDef

BatchAssociateResourceResponseTypeDef#

# BatchAssociateResourceResponseTypeDef definition

class BatchAssociateResourceResponseTypeDef(TypedDict):
    ResourceSetIdentifier: str,
    FailedItems: list[FailedItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedItemTypeDef
  2. See ResponseMetadataTypeDef

BatchDisassociateResourceResponseTypeDef#

# BatchDisassociateResourceResponseTypeDef definition

class BatchDisassociateResourceResponseTypeDef(TypedDict):
    ResourceSetIdentifier: str,
    FailedItems: list[FailedItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedItemTypeDef
  2. See ResponseMetadataTypeDef

PolicyComplianceDetailTypeDef#

# PolicyComplianceDetailTypeDef definition

class PolicyComplianceDetailTypeDef(TypedDict):
    PolicyOwner: NotRequired[str],
    PolicyId: NotRequired[str],
    MemberAccount: NotRequired[str],
    Violators: NotRequired[list[ComplianceViolatorTypeDef]],  # (1)
    EvaluationLimitExceeded: NotRequired[bool],
    ExpiredAt: NotRequired[datetime],
    IssueInfoMap: NotRequired[dict[DependentServiceNameType, str]],  # (2)
  1. See ComplianceViolatorTypeDef
  2. See DependentServiceNameType

ListDiscoveredResourcesResponseTypeDef#

# ListDiscoveredResourcesResponseTypeDef definition

class ListDiscoveredResourcesResponseTypeDef(TypedDict):
    Items: list[DiscoveredResourceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DiscoveredResourceTypeDef
  2. See ResponseMetadataTypeDef

PolicyComplianceStatusTypeDef#

# PolicyComplianceStatusTypeDef definition

class PolicyComplianceStatusTypeDef(TypedDict):
    PolicyOwner: NotRequired[str],
    PolicyId: NotRequired[str],
    PolicyName: NotRequired[str],
    MemberAccount: NotRequired[str],
    EvaluationResults: NotRequired[list[EvaluationResultTypeDef]],  # (1)
    LastUpdated: NotRequired[datetime],
    IssueInfoMap: NotRequired[dict[DependentServiceNameType, str]],  # (2)
  1. See EvaluationResultTypeDef
  2. See DependentServiceNameType

NetworkFirewallMissingExpectedRoutesViolationTypeDef#

# NetworkFirewallMissingExpectedRoutesViolationTypeDef definition

class NetworkFirewallMissingExpectedRoutesViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    ExpectedRoutes: NotRequired[list[ExpectedRouteTypeDef]],  # (1)
    VpcId: NotRequired[str],
  1. See ExpectedRouteTypeDef

GetProtocolsListResponseTypeDef#

# GetProtocolsListResponseTypeDef definition

class GetProtocolsListResponseTypeDef(TypedDict):
    ProtocolsList: ProtocolsListDataOutputTypeDef,  # (1)
    ProtocolsListArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProtocolsListDataOutputTypeDef
  2. See ResponseMetadataTypeDef

PutProtocolsListResponseTypeDef#

# PutProtocolsListResponseTypeDef definition

class PutProtocolsListResponseTypeDef(TypedDict):
    ProtocolsList: ProtocolsListDataOutputTypeDef,  # (1)
    ProtocolsListArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProtocolsListDataOutputTypeDef
  2. See ResponseMetadataTypeDef

GetResourceSetResponseTypeDef#

# GetResourceSetResponseTypeDef definition

class GetResourceSetResponseTypeDef(TypedDict):
    ResourceSet: ResourceSetOutputTypeDef,  # (1)
    ResourceSetArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceSetOutputTypeDef
  2. See ResponseMetadataTypeDef

PutResourceSetResponseTypeDef#

# PutResourceSetResponseTypeDef definition

class PutResourceSetResponseTypeDef(TypedDict):
    ResourceSet: ResourceSetOutputTypeDef,  # (1)
    ResourceSetArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceSetOutputTypeDef
  2. See ResponseMetadataTypeDef

ListAdminAccountsForOrganizationRequestPaginateTypeDef#

# ListAdminAccountsForOrganizationRequestPaginateTypeDef definition

class ListAdminAccountsForOrganizationRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAdminsManagingAccountRequestPaginateTypeDef#

# ListAdminsManagingAccountRequestPaginateTypeDef definition

class ListAdminsManagingAccountRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAppsListsRequestPaginateTypeDef#

# ListAppsListsRequestPaginateTypeDef definition

class ListAppsListsRequestPaginateTypeDef(TypedDict):
    DefaultLists: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListComplianceStatusRequestPaginateTypeDef#

# ListComplianceStatusRequestPaginateTypeDef definition

class ListComplianceStatusRequestPaginateTypeDef(TypedDict):
    PolicyId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListMemberAccountsRequestPaginateTypeDef#

# ListMemberAccountsRequestPaginateTypeDef definition

class ListMemberAccountsRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPoliciesRequestPaginateTypeDef#

# ListPoliciesRequestPaginateTypeDef definition

class ListPoliciesRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListProtocolsListsRequestPaginateTypeDef#

# ListProtocolsListsRequestPaginateTypeDef definition

class ListProtocolsListsRequestPaginateTypeDef(TypedDict):
    DefaultLists: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListThirdPartyFirewallFirewallPoliciesRequestPaginateTypeDef#

# ListThirdPartyFirewallFirewallPoliciesRequestPaginateTypeDef definition

class ListThirdPartyFirewallFirewallPoliciesRequestPaginateTypeDef(TypedDict):
    ThirdPartyFirewall: ThirdPartyFirewallType,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ThirdPartyFirewallType
  2. See PaginatorConfigTypeDef

ListPoliciesResponseTypeDef#

# ListPoliciesResponseTypeDef definition

class ListPoliciesResponseTypeDef(TypedDict):
    PolicyList: list[PolicySummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See PolicySummaryTypeDef
  2. See ResponseMetadataTypeDef

ListProtocolsListsResponseTypeDef#

# ListProtocolsListsResponseTypeDef definition

class ListProtocolsListsResponseTypeDef(TypedDict):
    ProtocolsLists: list[ProtocolsListDataSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ProtocolsListDataSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListResourceSetResourcesResponseTypeDef#

# ListResourceSetResourcesResponseTypeDef definition

class ListResourceSetResourcesResponseTypeDef(TypedDict):
    Items: list[ResourceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ResourceTypeDef
  2. See ResponseMetadataTypeDef

ListResourceSetsResponseTypeDef#

# ListResourceSetsResponseTypeDef definition

class ListResourceSetsResponseTypeDef(TypedDict):
    ResourceSets: list[ResourceSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ResourceSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    TagList: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagList: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

ListThirdPartyFirewallFirewallPoliciesResponseTypeDef#

# ListThirdPartyFirewallFirewallPoliciesResponseTypeDef definition

class ListThirdPartyFirewallFirewallPoliciesResponseTypeDef(TypedDict):
    ThirdPartyFirewallFirewallPolicies: list[ThirdPartyFirewallFirewallPolicyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ThirdPartyFirewallFirewallPolicyTypeDef
  2. See ResponseMetadataTypeDef

NetworkAclEntryTypeDef#

# NetworkAclEntryTypeDef definition

class NetworkAclEntryTypeDef(TypedDict):
    Protocol: str,
    RuleAction: NetworkAclRuleActionType,  # (3)
    Egress: bool,
    IcmpTypeCode: NotRequired[NetworkAclIcmpTypeCodeTypeDef],  # (1)
    PortRange: NotRequired[NetworkAclPortRangeTypeDef],  # (2)
    CidrBlock: NotRequired[str],
    Ipv6CidrBlock: NotRequired[str],
  1. See NetworkAclIcmpTypeCodeTypeDef
  2. See NetworkAclPortRangeTypeDef
  3. See NetworkAclRuleActionType

NetworkFirewallBlackHoleRouteDetectedViolationTypeDef#

# NetworkFirewallBlackHoleRouteDetectedViolationTypeDef definition

class NetworkFirewallBlackHoleRouteDetectedViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    RouteTableId: NotRequired[str],
    VpcId: NotRequired[str],
    ViolatingRoutes: NotRequired[list[RouteTypeDef]],  # (1)
  1. See RouteTypeDef

NetworkFirewallInternetTrafficNotInspectedViolationTypeDef#

# NetworkFirewallInternetTrafficNotInspectedViolationTypeDef definition

class NetworkFirewallInternetTrafficNotInspectedViolationTypeDef(TypedDict):
    SubnetId: NotRequired[str],
    SubnetAvailabilityZone: NotRequired[str],
    RouteTableId: NotRequired[str],
    ViolatingRoutes: NotRequired[list[RouteTypeDef]],  # (1)
    IsRouteTableUsedInDifferentAZ: NotRequired[bool],
    CurrentFirewallSubnetRouteTable: NotRequired[str],
    ExpectedFirewallEndpoint: NotRequired[str],
    FirewallSubnetId: NotRequired[str],
    ExpectedFirewallSubnetRoutes: NotRequired[list[ExpectedRouteTypeDef]],  # (2)
    ActualFirewallSubnetRoutes: NotRequired[list[RouteTypeDef]],  # (1)
    InternetGatewayId: NotRequired[str],
    CurrentInternetGatewayRouteTable: NotRequired[str],
    ExpectedInternetGatewayRoutes: NotRequired[list[ExpectedRouteTypeDef]],  # (2)
    ActualInternetGatewayRoutes: NotRequired[list[RouteTypeDef]],  # (1)
    VpcId: NotRequired[str],
  1. See RouteTypeDef
  2. See ExpectedRouteTypeDef
  3. See RouteTypeDef
  4. See ExpectedRouteTypeDef
  5. See RouteTypeDef

NetworkFirewallInvalidRouteConfigurationViolationTypeDef#

# NetworkFirewallInvalidRouteConfigurationViolationTypeDef definition

class NetworkFirewallInvalidRouteConfigurationViolationTypeDef(TypedDict):
    AffectedSubnets: NotRequired[list[str]],
    RouteTableId: NotRequired[str],
    IsRouteTableUsedInDifferentAZ: NotRequired[bool],
    ViolatingRoute: NotRequired[RouteTypeDef],  # (1)
    CurrentFirewallSubnetRouteTable: NotRequired[str],
    ExpectedFirewallEndpoint: NotRequired[str],
    ActualFirewallEndpoint: NotRequired[str],
    ExpectedFirewallSubnetId: NotRequired[str],
    ActualFirewallSubnetId: NotRequired[str],
    ExpectedFirewallSubnetRoutes: NotRequired[list[ExpectedRouteTypeDef]],  # (2)
    ActualFirewallSubnetRoutes: NotRequired[list[RouteTypeDef]],  # (3)
    InternetGatewayId: NotRequired[str],
    CurrentInternetGatewayRouteTable: NotRequired[str],
    ExpectedInternetGatewayRoutes: NotRequired[list[ExpectedRouteTypeDef]],  # (2)
    ActualInternetGatewayRoutes: NotRequired[list[RouteTypeDef]],  # (3)
    VpcId: NotRequired[str],
  1. See RouteTypeDef
  2. See ExpectedRouteTypeDef
  3. See RouteTypeDef
  4. See ExpectedRouteTypeDef
  5. See RouteTypeDef

NetworkFirewallUnexpectedFirewallRoutesViolationTypeDef#

# NetworkFirewallUnexpectedFirewallRoutesViolationTypeDef definition

class NetworkFirewallUnexpectedFirewallRoutesViolationTypeDef(TypedDict):
    FirewallSubnetId: NotRequired[str],
    ViolatingRoutes: NotRequired[list[RouteTypeDef]],  # (1)
    RouteTableId: NotRequired[str],
    FirewallEndpoint: NotRequired[str],
    VpcId: NotRequired[str],
  1. See RouteTypeDef

NetworkFirewallUnexpectedGatewayRoutesViolationTypeDef#

# NetworkFirewallUnexpectedGatewayRoutesViolationTypeDef definition

class NetworkFirewallUnexpectedGatewayRoutesViolationTypeDef(TypedDict):
    GatewayId: NotRequired[str],
    ViolatingRoutes: NotRequired[list[RouteTypeDef]],  # (1)
    RouteTableId: NotRequired[str],
    VpcId: NotRequired[str],
  1. See RouteTypeDef

RouteHasOutOfScopeEndpointViolationTypeDef#

# RouteHasOutOfScopeEndpointViolationTypeDef definition

class RouteHasOutOfScopeEndpointViolationTypeDef(TypedDict):
    SubnetId: NotRequired[str],
    VpcId: NotRequired[str],
    RouteTableId: NotRequired[str],
    ViolatingRoutes: NotRequired[list[RouteTypeDef]],  # (1)
    SubnetAvailabilityZone: NotRequired[str],
    SubnetAvailabilityZoneId: NotRequired[str],
    CurrentFirewallSubnetRouteTable: NotRequired[str],
    FirewallSubnetId: NotRequired[str],
    FirewallSubnetRoutes: NotRequired[list[RouteTypeDef]],  # (1)
    InternetGatewayId: NotRequired[str],
    CurrentInternetGatewayRouteTable: NotRequired[str],
    InternetGatewayRoutes: NotRequired[list[RouteTypeDef]],  # (1)
  1. See RouteTypeDef
  2. See RouteTypeDef
  3. See RouteTypeDef

StatefulRuleGroupTypeDef#

# StatefulRuleGroupTypeDef definition

class StatefulRuleGroupTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    ResourceId: NotRequired[str],
    Priority: NotRequired[int],
    Override: NotRequired[NetworkFirewallStatefulRuleGroupOverrideTypeDef],  # (1)
  1. See NetworkFirewallStatefulRuleGroupOverrideTypeDef

SecurityGroupRemediationActionTypeDef#

# SecurityGroupRemediationActionTypeDef definition

class SecurityGroupRemediationActionTypeDef(TypedDict):
    RemediationActionType: NotRequired[RemediationActionTypeType],  # (1)
    Description: NotRequired[str],
    RemediationResult: NotRequired[SecurityGroupRuleDescriptionTypeDef],  # (2)
    IsDefaultAction: NotRequired[bool],
  1. See RemediationActionTypeType
  2. See SecurityGroupRuleDescriptionTypeDef

GetAdminScopeResponseTypeDef#

# GetAdminScopeResponseTypeDef definition

class GetAdminScopeResponseTypeDef(TypedDict):
    AdminScope: AdminScopeOutputTypeDef,  # (1)
    Status: OrganizationStatusType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AdminScopeOutputTypeDef
  2. See OrganizationStatusType
  3. See ResponseMetadataTypeDef

GetAppsListResponseTypeDef#

# GetAppsListResponseTypeDef definition

class GetAppsListResponseTypeDef(TypedDict):
    AppsList: AppsListDataOutputTypeDef,  # (1)
    AppsListArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AppsListDataOutputTypeDef
  2. See ResponseMetadataTypeDef

PutAppsListResponseTypeDef#

# PutAppsListResponseTypeDef definition

class PutAppsListResponseTypeDef(TypedDict):
    AppsList: AppsListDataOutputTypeDef,  # (1)
    AppsListArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AppsListDataOutputTypeDef
  2. See ResponseMetadataTypeDef

ListAppsListsResponseTypeDef#

# ListAppsListsResponseTypeDef definition

class ListAppsListsResponseTypeDef(TypedDict):
    AppsLists: list[AppsListDataSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See AppsListDataSummaryTypeDef
  2. See ResponseMetadataTypeDef

PutAppsListRequestRequestTypeDef#

# PutAppsListRequestRequestTypeDef definition

class PutAppsListRequestRequestTypeDef(TypedDict):
    AppsList: AppsListDataTypeDef,  # (1)
    TagList: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See AppsListDataTypeDef
  2. See TagTypeDef

PutProtocolsListRequestRequestTypeDef#

# PutProtocolsListRequestRequestTypeDef definition

class PutProtocolsListRequestRequestTypeDef(TypedDict):
    ProtocolsList: ProtocolsListDataTypeDef,  # (1)
    TagList: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ProtocolsListDataTypeDef
  2. See TagTypeDef

PutResourceSetRequestRequestTypeDef#

# PutResourceSetRequestRequestTypeDef definition

class PutResourceSetRequestRequestTypeDef(TypedDict):
    ResourceSet: ResourceSetTypeDef,  # (1)
    TagList: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ResourceSetTypeDef
  2. See TagTypeDef

GetComplianceDetailResponseTypeDef#

# GetComplianceDetailResponseTypeDef definition

class GetComplianceDetailResponseTypeDef(TypedDict):
    PolicyComplianceDetail: PolicyComplianceDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyComplianceDetailTypeDef
  2. See ResponseMetadataTypeDef

ListComplianceStatusResponseTypeDef#

# ListComplianceStatusResponseTypeDef definition

class ListComplianceStatusResponseTypeDef(TypedDict):
    PolicyComplianceStatusList: list[PolicyComplianceStatusTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See PolicyComplianceStatusTypeDef
  2. See ResponseMetadataTypeDef

EntryDescriptionTypeDef#

# EntryDescriptionTypeDef definition

class EntryDescriptionTypeDef(TypedDict):
    EntryDetail: NotRequired[NetworkAclEntryTypeDef],  # (1)
    EntryRuleNumber: NotRequired[int],
    EntryType: NotRequired[EntryTypeType],  # (2)
  1. See NetworkAclEntryTypeDef
  2. See EntryTypeType

NetworkAclEntrySetOutputTypeDef#

# NetworkAclEntrySetOutputTypeDef definition

class NetworkAclEntrySetOutputTypeDef(TypedDict):
    ForceRemediateForFirstEntries: bool,
    ForceRemediateForLastEntries: bool,
    FirstEntries: NotRequired[list[NetworkAclEntryTypeDef]],  # (1)
    LastEntries: NotRequired[list[NetworkAclEntryTypeDef]],  # (1)
  1. See NetworkAclEntryTypeDef
  2. See NetworkAclEntryTypeDef

NetworkAclEntrySetTypeDef#

# NetworkAclEntrySetTypeDef definition

class NetworkAclEntrySetTypeDef(TypedDict):
    ForceRemediateForFirstEntries: bool,
    ForceRemediateForLastEntries: bool,
    FirstEntries: NotRequired[Sequence[NetworkAclEntryTypeDef]],  # (1)
    LastEntries: NotRequired[Sequence[NetworkAclEntryTypeDef]],  # (1)
  1. See NetworkAclEntryTypeDef
  2. See NetworkAclEntryTypeDef

NetworkFirewallPolicyDescriptionTypeDef#

# NetworkFirewallPolicyDescriptionTypeDef definition

class NetworkFirewallPolicyDescriptionTypeDef(TypedDict):
    StatelessRuleGroups: NotRequired[list[StatelessRuleGroupTypeDef]],  # (1)
    StatelessDefaultActions: NotRequired[list[str]],
    StatelessFragmentDefaultActions: NotRequired[list[str]],
    StatelessCustomActions: NotRequired[list[str]],
    StatefulRuleGroups: NotRequired[list[StatefulRuleGroupTypeDef]],  # (2)
    StatefulDefaultActions: NotRequired[list[str]],
    StatefulEngineOptions: NotRequired[StatefulEngineOptionsTypeDef],  # (3)
  1. See StatelessRuleGroupTypeDef
  2. See StatefulRuleGroupTypeDef
  3. See StatefulEngineOptionsTypeDef

AdminScopeTypeDef#

# AdminScopeTypeDef definition

class AdminScopeTypeDef(TypedDict):
    AccountScope: NotRequired[AccountScopeUnionTypeDef],  # (1)
    OrganizationalUnitScope: NotRequired[OrganizationalUnitScopeUnionTypeDef],  # (2)
    RegionScope: NotRequired[RegionScopeUnionTypeDef],  # (3)
    PolicyTypeScope: NotRequired[PolicyTypeScopeUnionTypeDef],  # (4)
  1. See AccountScopeTypeDef AccountScopeOutputTypeDef
  2. See OrganizationalUnitScopeTypeDef OrganizationalUnitScopeOutputTypeDef
  3. See RegionScopeTypeDef RegionScopeOutputTypeDef
  4. See PolicyTypeScopeTypeDef PolicyTypeScopeOutputTypeDef

AwsVPCSecurityGroupViolationTypeDef#

# AwsVPCSecurityGroupViolationTypeDef definition

class AwsVPCSecurityGroupViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    ViolationTargetDescription: NotRequired[str],
    PartialMatches: NotRequired[list[PartialMatchTypeDef]],  # (1)
    PossibleSecurityGroupRemediationActions: NotRequired[list[SecurityGroupRemediationActionTypeDef]],  # (2)
  1. See PartialMatchTypeDef
  2. See SecurityGroupRemediationActionTypeDef

CreateNetworkAclEntriesActionTypeDef#

# CreateNetworkAclEntriesActionTypeDef definition

class CreateNetworkAclEntriesActionTypeDef(TypedDict):
    Description: NotRequired[str],
    NetworkAclId: NotRequired[ActionTargetTypeDef],  # (1)
    NetworkAclEntriesToBeCreated: NotRequired[list[EntryDescriptionTypeDef]],  # (2)
    FMSCanRemediate: NotRequired[bool],
  1. See ActionTargetTypeDef
  2. See EntryDescriptionTypeDef

DeleteNetworkAclEntriesActionTypeDef#

# DeleteNetworkAclEntriesActionTypeDef definition

class DeleteNetworkAclEntriesActionTypeDef(TypedDict):
    Description: NotRequired[str],
    NetworkAclId: NotRequired[ActionTargetTypeDef],  # (1)
    NetworkAclEntriesToBeDeleted: NotRequired[list[EntryDescriptionTypeDef]],  # (2)
    FMSCanRemediate: NotRequired[bool],
  1. See ActionTargetTypeDef
  2. See EntryDescriptionTypeDef

EntryViolationTypeDef#

# EntryViolationTypeDef definition

class EntryViolationTypeDef(TypedDict):
    ExpectedEntry: NotRequired[EntryDescriptionTypeDef],  # (1)
    ExpectedEvaluationOrder: NotRequired[str],
    ActualEvaluationOrder: NotRequired[str],
    EntryAtExpectedEvaluationOrder: NotRequired[EntryDescriptionTypeDef],  # (1)
    EntriesWithConflicts: NotRequired[list[EntryDescriptionTypeDef]],  # (3)
    EntryViolationReasons: NotRequired[list[EntryViolationReasonType]],  # (4)
  1. See EntryDescriptionTypeDef
  2. See EntryDescriptionTypeDef
  3. See EntryDescriptionTypeDef
  4. See EntryViolationReasonType

NetworkAclCommonPolicyOutputTypeDef#

# NetworkAclCommonPolicyOutputTypeDef definition

class NetworkAclCommonPolicyOutputTypeDef(TypedDict):
    NetworkAclEntrySet: NetworkAclEntrySetOutputTypeDef,  # (1)
  1. See NetworkAclEntrySetOutputTypeDef

NetworkFirewallPolicyModifiedViolationTypeDef#

# NetworkFirewallPolicyModifiedViolationTypeDef definition

class NetworkFirewallPolicyModifiedViolationTypeDef(TypedDict):
    ViolationTarget: NotRequired[str],
    CurrentPolicyDescription: NotRequired[NetworkFirewallPolicyDescriptionTypeDef],  # (1)
    ExpectedPolicyDescription: NotRequired[NetworkFirewallPolicyDescriptionTypeDef],  # (1)
  1. See NetworkFirewallPolicyDescriptionTypeDef
  2. See NetworkFirewallPolicyDescriptionTypeDef

PutAdminAccountRequestRequestTypeDef#

# PutAdminAccountRequestRequestTypeDef definition

class PutAdminAccountRequestRequestTypeDef(TypedDict):
    AdminAccount: str,
    AdminScope: NotRequired[AdminScopeTypeDef],  # (1)
  1. See AdminScopeTypeDef

RemediationActionTypeDef#

# RemediationActionTypeDef definition

class RemediationActionTypeDef(TypedDict):
    Description: NotRequired[str],
    EC2CreateRouteAction: NotRequired[EC2CreateRouteActionTypeDef],  # (1)
    EC2ReplaceRouteAction: NotRequired[EC2ReplaceRouteActionTypeDef],  # (2)
    EC2DeleteRouteAction: NotRequired[EC2DeleteRouteActionTypeDef],  # (3)
    EC2CopyRouteTableAction: NotRequired[EC2CopyRouteTableActionTypeDef],  # (4)
    EC2ReplaceRouteTableAssociationAction: NotRequired[EC2ReplaceRouteTableAssociationActionTypeDef],  # (5)
    EC2AssociateRouteTableAction: NotRequired[EC2AssociateRouteTableActionTypeDef],  # (6)
    EC2CreateRouteTableAction: NotRequired[EC2CreateRouteTableActionTypeDef],  # (7)
    FMSPolicyUpdateFirewallCreationConfigAction: NotRequired[FMSPolicyUpdateFirewallCreationConfigActionTypeDef],  # (8)
    CreateNetworkAclAction: NotRequired[CreateNetworkAclActionTypeDef],  # (9)
    ReplaceNetworkAclAssociationAction: NotRequired[ReplaceNetworkAclAssociationActionTypeDef],  # (10)
    CreateNetworkAclEntriesAction: NotRequired[CreateNetworkAclEntriesActionTypeDef],  # (11)
    DeleteNetworkAclEntriesAction: NotRequired[DeleteNetworkAclEntriesActionTypeDef],  # (12)
  1. See EC2CreateRouteActionTypeDef
  2. See EC2ReplaceRouteActionTypeDef
  3. See EC2DeleteRouteActionTypeDef
  4. See EC2CopyRouteTableActionTypeDef
  5. See EC2ReplaceRouteTableAssociationActionTypeDef
  6. See EC2AssociateRouteTableActionTypeDef
  7. See EC2CreateRouteTableActionTypeDef
  8. See FMSPolicyUpdateFirewallCreationConfigActionTypeDef
  9. See CreateNetworkAclActionTypeDef
  10. See ReplaceNetworkAclAssociationActionTypeDef
  11. See CreateNetworkAclEntriesActionTypeDef
  12. See DeleteNetworkAclEntriesActionTypeDef

InvalidNetworkAclEntriesViolationTypeDef#

# InvalidNetworkAclEntriesViolationTypeDef definition

class InvalidNetworkAclEntriesViolationTypeDef(TypedDict):
    Vpc: NotRequired[str],
    Subnet: NotRequired[str],
    SubnetAvailabilityZone: NotRequired[str],
    CurrentAssociatedNetworkAcl: NotRequired[str],
    EntryViolations: NotRequired[list[EntryViolationTypeDef]],  # (1)
  1. See EntryViolationTypeDef

PolicyOptionOutputTypeDef#

# PolicyOptionOutputTypeDef definition

class PolicyOptionOutputTypeDef(TypedDict):
    NetworkFirewallPolicy: NotRequired[NetworkFirewallPolicyTypeDef],  # (1)
    ThirdPartyFirewallPolicy: NotRequired[ThirdPartyFirewallPolicyTypeDef],  # (2)
    NetworkAclCommonPolicy: NotRequired[NetworkAclCommonPolicyOutputTypeDef],  # (3)
  1. See NetworkFirewallPolicyTypeDef
  2. See ThirdPartyFirewallPolicyTypeDef
  3. See NetworkAclCommonPolicyOutputTypeDef

NetworkAclCommonPolicyTypeDef#

# NetworkAclCommonPolicyTypeDef definition

class NetworkAclCommonPolicyTypeDef(TypedDict):
    NetworkAclEntrySet: NetworkAclEntrySetUnionTypeDef,  # (1)
  1. See NetworkAclEntrySetTypeDef NetworkAclEntrySetOutputTypeDef

RemediationActionWithOrderTypeDef#

# RemediationActionWithOrderTypeDef definition

class RemediationActionWithOrderTypeDef(TypedDict):
    RemediationAction: NotRequired[RemediationActionTypeDef],  # (1)
    Order: NotRequired[int],
  1. See RemediationActionTypeDef

SecurityServicePolicyDataOutputTypeDef#

# SecurityServicePolicyDataOutputTypeDef definition

class SecurityServicePolicyDataOutputTypeDef(TypedDict):
    Type: SecurityServiceTypeType,  # (1)
    ManagedServiceData: NotRequired[str],
    PolicyOption: NotRequired[PolicyOptionOutputTypeDef],  # (2)
  1. See SecurityServiceTypeType
  2. See PolicyOptionOutputTypeDef

PossibleRemediationActionTypeDef#

# PossibleRemediationActionTypeDef definition

class PossibleRemediationActionTypeDef(TypedDict):
    OrderedRemediationActions: list[RemediationActionWithOrderTypeDef],  # (1)
    Description: NotRequired[str],
    IsDefaultAction: NotRequired[bool],
  1. See RemediationActionWithOrderTypeDef

PolicyOutputTypeDef#

# PolicyOutputTypeDef definition

class PolicyOutputTypeDef(TypedDict):
    PolicyName: str,
    SecurityServicePolicyData: SecurityServicePolicyDataOutputTypeDef,  # (1)
    ResourceType: str,
    ExcludeResourceTags: bool,
    RemediationEnabled: bool,
    PolicyId: NotRequired[str],
    PolicyUpdateToken: NotRequired[str],
    ResourceTypeList: NotRequired[list[str]],
    ResourceTags: NotRequired[list[ResourceTagTypeDef]],  # (2)
    DeleteUnusedFMManagedResources: NotRequired[bool],
    IncludeMap: NotRequired[dict[CustomerPolicyScopeIdTypeType, list[str]]],  # (3)
    ExcludeMap: NotRequired[dict[CustomerPolicyScopeIdTypeType, list[str]]],  # (3)
    ResourceSetIds: NotRequired[list[str]],
    PolicyDescription: NotRequired[str],
    PolicyStatus: NotRequired[CustomerPolicyStatusType],  # (5)
  1. See SecurityServicePolicyDataOutputTypeDef
  2. See ResourceTagTypeDef
  3. See CustomerPolicyScopeIdTypeType
  4. See CustomerPolicyScopeIdTypeType
  5. See CustomerPolicyStatusType

PolicyOptionTypeDef#

# PolicyOptionTypeDef definition

class PolicyOptionTypeDef(TypedDict):
    NetworkFirewallPolicy: NotRequired[NetworkFirewallPolicyTypeDef],  # (1)
    ThirdPartyFirewallPolicy: NotRequired[ThirdPartyFirewallPolicyTypeDef],  # (2)
    NetworkAclCommonPolicy: NotRequired[NetworkAclCommonPolicyUnionTypeDef],  # (3)
  1. See NetworkFirewallPolicyTypeDef
  2. See ThirdPartyFirewallPolicyTypeDef
  3. See NetworkAclCommonPolicyTypeDef NetworkAclCommonPolicyOutputTypeDef

PossibleRemediationActionsTypeDef#

# PossibleRemediationActionsTypeDef definition

class PossibleRemediationActionsTypeDef(TypedDict):
    Description: NotRequired[str],
    Actions: NotRequired[list[PossibleRemediationActionTypeDef]],  # (1)
  1. See PossibleRemediationActionTypeDef

GetPolicyResponseTypeDef#

# GetPolicyResponseTypeDef definition

class GetPolicyResponseTypeDef(TypedDict):
    Policy: PolicyOutputTypeDef,  # (1)
    PolicyArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyOutputTypeDef
  2. See ResponseMetadataTypeDef

PutPolicyResponseTypeDef#

# PutPolicyResponseTypeDef definition

class PutPolicyResponseTypeDef(TypedDict):
    Policy: PolicyOutputTypeDef,  # (1)
    PolicyArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PolicyOutputTypeDef
  2. See ResponseMetadataTypeDef

ResourceViolationTypeDef#

# ResourceViolationTypeDef definition

class ResourceViolationTypeDef(TypedDict):
    AwsVPCSecurityGroupViolation: NotRequired[AwsVPCSecurityGroupViolationTypeDef],  # (1)
    AwsEc2NetworkInterfaceViolation: NotRequired[AwsEc2NetworkInterfaceViolationTypeDef],  # (2)
    AwsEc2InstanceViolation: NotRequired[AwsEc2InstanceViolationTypeDef],  # (3)
    NetworkFirewallMissingFirewallViolation: NotRequired[NetworkFirewallMissingFirewallViolationTypeDef],  # (4)
    NetworkFirewallMissingSubnetViolation: NotRequired[NetworkFirewallMissingSubnetViolationTypeDef],  # (5)
    NetworkFirewallMissingExpectedRTViolation: NotRequired[NetworkFirewallMissingExpectedRTViolationTypeDef],  # (6)
    NetworkFirewallPolicyModifiedViolation: NotRequired[NetworkFirewallPolicyModifiedViolationTypeDef],  # (7)
    NetworkFirewallInternetTrafficNotInspectedViolation: NotRequired[NetworkFirewallInternetTrafficNotInspectedViolationTypeDef],  # (8)
    NetworkFirewallInvalidRouteConfigurationViolation: NotRequired[NetworkFirewallInvalidRouteConfigurationViolationTypeDef],  # (9)
    NetworkFirewallBlackHoleRouteDetectedViolation: NotRequired[NetworkFirewallBlackHoleRouteDetectedViolationTypeDef],  # (10)
    NetworkFirewallUnexpectedFirewallRoutesViolation: NotRequired[NetworkFirewallUnexpectedFirewallRoutesViolationTypeDef],  # (11)
    NetworkFirewallUnexpectedGatewayRoutesViolation: NotRequired[NetworkFirewallUnexpectedGatewayRoutesViolationTypeDef],  # (12)
    NetworkFirewallMissingExpectedRoutesViolation: NotRequired[NetworkFirewallMissingExpectedRoutesViolationTypeDef],  # (13)
    DnsRuleGroupPriorityConflictViolation: NotRequired[DnsRuleGroupPriorityConflictViolationTypeDef],  # (14)
    DnsDuplicateRuleGroupViolation: NotRequired[DnsDuplicateRuleGroupViolationTypeDef],  # (15)
    DnsRuleGroupLimitExceededViolation: NotRequired[DnsRuleGroupLimitExceededViolationTypeDef],  # (16)
    FirewallSubnetIsOutOfScopeViolation: NotRequired[FirewallSubnetIsOutOfScopeViolationTypeDef],  # (17)
    RouteHasOutOfScopeEndpointViolation: NotRequired[RouteHasOutOfScopeEndpointViolationTypeDef],  # (18)
    ThirdPartyFirewallMissingFirewallViolation: NotRequired[ThirdPartyFirewallMissingFirewallViolationTypeDef],  # (19)
    ThirdPartyFirewallMissingSubnetViolation: NotRequired[ThirdPartyFirewallMissingSubnetViolationTypeDef],  # (20)
    ThirdPartyFirewallMissingExpectedRouteTableViolation: NotRequired[ThirdPartyFirewallMissingExpectedRouteTableViolationTypeDef],  # (21)
    FirewallSubnetMissingVPCEndpointViolation: NotRequired[FirewallSubnetMissingVPCEndpointViolationTypeDef],  # (22)
    InvalidNetworkAclEntriesViolation: NotRequired[InvalidNetworkAclEntriesViolationTypeDef],  # (23)
    PossibleRemediationActions: NotRequired[PossibleRemediationActionsTypeDef],  # (24)
    WebACLHasIncompatibleConfigurationViolation: NotRequired[WebACLHasIncompatibleConfigurationViolationTypeDef],  # (25)
    WebACLHasOutOfScopeResourcesViolation: NotRequired[WebACLHasOutOfScopeResourcesViolationTypeDef],  # (26)
  1. See AwsVPCSecurityGroupViolationTypeDef
  2. See AwsEc2NetworkInterfaceViolationTypeDef
  3. See AwsEc2InstanceViolationTypeDef
  4. See NetworkFirewallMissingFirewallViolationTypeDef
  5. See NetworkFirewallMissingSubnetViolationTypeDef
  6. See NetworkFirewallMissingExpectedRTViolationTypeDef
  7. See NetworkFirewallPolicyModifiedViolationTypeDef
  8. See NetworkFirewallInternetTrafficNotInspectedViolationTypeDef
  9. See NetworkFirewallInvalidRouteConfigurationViolationTypeDef
  10. See NetworkFirewallBlackHoleRouteDetectedViolationTypeDef
  11. See NetworkFirewallUnexpectedFirewallRoutesViolationTypeDef
  12. See NetworkFirewallUnexpectedGatewayRoutesViolationTypeDef
  13. See NetworkFirewallMissingExpectedRoutesViolationTypeDef
  14. See DnsRuleGroupPriorityConflictViolationTypeDef
  15. See DnsDuplicateRuleGroupViolationTypeDef
  16. See DnsRuleGroupLimitExceededViolationTypeDef
  17. See FirewallSubnetIsOutOfScopeViolationTypeDef
  18. See RouteHasOutOfScopeEndpointViolationTypeDef
  19. See ThirdPartyFirewallMissingFirewallViolationTypeDef
  20. See ThirdPartyFirewallMissingSubnetViolationTypeDef
  21. See ThirdPartyFirewallMissingExpectedRouteTableViolationTypeDef
  22. See FirewallSubnetMissingVPCEndpointViolationTypeDef
  23. See InvalidNetworkAclEntriesViolationTypeDef
  24. See PossibleRemediationActionsTypeDef
  25. See WebACLHasIncompatibleConfigurationViolationTypeDef
  26. See WebACLHasOutOfScopeResourcesViolationTypeDef

SecurityServicePolicyDataTypeDef#

# SecurityServicePolicyDataTypeDef definition

class SecurityServicePolicyDataTypeDef(TypedDict):
    Type: SecurityServiceTypeType,  # (1)
    ManagedServiceData: NotRequired[str],
    PolicyOption: NotRequired[PolicyOptionUnionTypeDef],  # (2)
  1. See SecurityServiceTypeType
  2. See PolicyOptionTypeDef PolicyOptionOutputTypeDef

ViolationDetailTypeDef#

# ViolationDetailTypeDef definition

class ViolationDetailTypeDef(TypedDict):
    PolicyId: str,
    MemberAccount: str,
    ResourceId: str,
    ResourceType: str,
    ResourceViolations: list[ResourceViolationTypeDef],  # (1)
    ResourceTags: NotRequired[list[TagTypeDef]],  # (2)
    ResourceDescription: NotRequired[str],
  1. See ResourceViolationTypeDef
  2. See TagTypeDef

GetViolationDetailsResponseTypeDef#

# GetViolationDetailsResponseTypeDef definition

class GetViolationDetailsResponseTypeDef(TypedDict):
    ViolationDetail: ViolationDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ViolationDetailTypeDef
  2. See ResponseMetadataTypeDef

PolicyTypeDef#

# PolicyTypeDef definition

class PolicyTypeDef(TypedDict):
    PolicyName: str,
    SecurityServicePolicyData: SecurityServicePolicyDataUnionTypeDef,  # (1)
    ResourceType: str,
    ExcludeResourceTags: bool,
    RemediationEnabled: bool,
    PolicyId: NotRequired[str],
    PolicyUpdateToken: NotRequired[str],
    ResourceTypeList: NotRequired[Sequence[str]],
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (2)
    DeleteUnusedFMManagedResources: NotRequired[bool],
    IncludeMap: NotRequired[Mapping[CustomerPolicyScopeIdTypeType, Sequence[str]]],  # (3)
    ExcludeMap: NotRequired[Mapping[CustomerPolicyScopeIdTypeType, Sequence[str]]],  # (3)
    ResourceSetIds: NotRequired[Sequence[str]],
    PolicyDescription: NotRequired[str],
    PolicyStatus: NotRequired[CustomerPolicyStatusType],  # (5)
  1. See SecurityServicePolicyDataTypeDef SecurityServicePolicyDataOutputTypeDef
  2. See ResourceTagTypeDef
  3. See CustomerPolicyScopeIdTypeType
  4. See CustomerPolicyScopeIdTypeType
  5. See CustomerPolicyStatusType

PutPolicyRequestRequestTypeDef#

# PutPolicyRequestRequestTypeDef definition

class PutPolicyRequestRequestTypeDef(TypedDict):
    Policy: PolicyTypeDef,  # (1)
    TagList: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See PolicyTypeDef
  2. See TagTypeDef