Class FlowLogState


  • public final class FlowLogState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FlowLogState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the Flow Log.
      • deliverCrossAccountRole

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deliverCrossAccountRole()
        Returns:
        ARN of the IAM role in the destination account used for cross-account delivery of flow logs.
      • destinationOptions

        public java.util.Optional<com.pulumi.core.Output<FlowLogDestinationOptionsArgs>> destinationOptions()
        Returns:
        Destination options for a flow log. More details below.
      • eniId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> eniId()
        Returns:
        Elastic Network Interface ID to attach to.
      • iamRoleArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> iamRoleArn()
        Returns:
        ARN of the IAM role used to post flow logs. Corresponds to `DeliverLogsPermissionArn` in the [AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFlowLogs.html).
      • logDestination

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> logDestination()
        Returns:
        ARN of the logging destination.
      • logDestinationType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> logDestinationType()
        Returns:
        Logging destination type. Valid values: `cloud-watch-logs`, `s3`, `kinesis-data-firehose`. Default: `cloud-watch-logs`.
      • logFormat

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> logFormat()
        Returns:
        Fields to include in the flow log record. Accepted format example: `"$${interface-id} $${srcaddr} $${dstaddr} $${srcport} $${dstport}"`.
      • maxAggregationInterval

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxAggregationInterval()
        Returns:
        Maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: `60` seconds (1 minute) or `600` seconds (10 minutes). Default: `600`. When `transitGatewayId` or `transitGatewayAttachmentId` is specified, `maxAggregationInterval` *must* be 60 seconds (1 minute).
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • regionalNatGatewayId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> regionalNatGatewayId()
        Returns:
        Regional NAT Gateway ID to attach to.
      • subnetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()
        Returns:
        Subnet ID to attach to.
      • tagFieldSpecifications

        public java.util.Optional<com.pulumi.core.Output<java.util.List<FlowLogTagFieldSpecificationArgs>>> tagFieldSpecifications()
        Returns:
        Tag configuration for the Flow Logs Amazon EC2 Tags feature fields (e.g., `$${instance-tag}`) used in `logFormat`. More details below.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
      • trafficType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> trafficType()
        Returns:
        Type of traffic to capture. Valid values: `ACCEPT`,`REJECT`, `ALL`. Required if `eniId`, `regionalNatGatewayId`, `subnetId`, or `vpcId` is specified.
      • transitGatewayAttachmentId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> transitGatewayAttachmentId()
        Returns:
        Transit Gateway Attachment ID to attach to.
      • transitGatewayId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> transitGatewayId()
        Returns:
        Transit Gateway ID to attach to.
      • vpcId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vpcId()
        Returns:
        VPC ID to attach to. > **NOTE:** One of `eniId`, `regionalNatGatewayId`, `subnetId`, `transitGatewayId`, `transitGatewayAttachmentId`, or `vpcId` must be specified.