def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.policy_document = None self.resource_type = 'AWS::S3::BucketPolicy'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.groups = [] self.roles = [] self.users = [] self.resource_type = 'AWS::IAM::Policy'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.policies = [] self.policy_objects = [] self.group_names = [] self.groups = [] self.resource_type = 'AWS::IAM::User'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self._topics = [] self.policy_document = None self._resource_type = 'AWS::SNS::TopicPolicy'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.queues = [] self.policy_document = None self.resource_type = 'AWS::SQS::QueuePolicy'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ # attr_accessor :security_groups ModelElement.__init__(self, cfn_model) self.securityGroupIds = [] self.networkInterfaces = [] self.security_groups = [] self.resource_type = 'AWS::EC2::Instance'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.managedPolicyArns = [] self.policies = [] self.policy_objects = [] self.resource_type = 'AWS::IAM::Group'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.policies = [] self.managedPolicyArns = [] self.policy_objects = [] self.assume_role_policy_document = None self.resource_type = 'AWS::IAM::Role'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.groupSet = [] self.ipv6Addresses = [] self.privateIpAddresses = [] self.tags = [] self.security_groups = [] self.resource_type = 'AWS::EC2::NetworkInterface'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) self.securityGroups = [] self.security_groups = [] self.loadBalancerAttributes = [] self.subnets = [] self.tags = [] self.resource_type = 'AWS::ElasticLoadBalancingV2::LoadBalancer'
def __init__(self, cfn_model, debug=False): """ Initialize :param cfn_model: :param debug: """ self.debug = debug if self.debug: print('EC2SecurityGroupIngress __init__') ModelElement.__init__(self, cfn_model) self.resource_type = 'AWS::EC2::SecurityGroupIngress'
def __init__(self, cfn_model): """ Initialize :param cfn_model: """ ModelElement.__init__(self, cfn_model) #self.securityGroupIngress = [] #self.securityGroupEgress = [] self.ingresses = [] self.egresses = [] self.tags = [] self.resource_type = 'AWS::EC2::SecurityGroup'